Find in page doesn't work on some github pages
Categories
(Toolkit :: Find Toolbar, defect)
Tracking
()
People
(Reporter: onlynone, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:127.0) Gecko/20100101 Firefox/127.0
Steps to reproduce:
- Go to https://github.com/johanhaleby/kubetail/blame/57fd7ef364b4190deab0caf0226316e0f0fb1ca2/kubetail#L189
- Select Edit -> Find in Page... (don't use ⌘-F / Ctrl-F to avoid github's capture of that sequence)
- Type 'follow'
- Hit ⌘-G several times to cycle through the matches
Actual results:
The first time through, it won't match against the appearance of 'follow' on lines 34:
default_follow="${KUBETAIL_FOLLOW:-true}"`
and 45:
follow="${default_follow}"
and 78:
-f, --follow Specify if the logs should be streamed. (true|false) Defaults to ${default_follow}.
After hitting the last match on the page, it'll cycle back to the match on line 306.
If you change where in the document you click prior to the Find in Page, it changes which matches it knows about. If you scroll to the top of the page and click somewhere in the document on line 1 and then do Find in Page, it'll find those earlier matches, but not the later ones.
Expected results:
It should find all matches of 'follow'
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Toolkit::Find Toolbar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Description
•