Reader: native browser 'find' function is not great #1180
Labels
[Feature] Reader
The reader site on Calypso.
[Pri] Low
Address when resources are available.
[Status] Stale
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
If you use the browsers 'find' function it can get very confused because of the overlayed nature of Calypso pages. This is because the find searches through all HTML, even if it's not visible. If you are looking at a single post in the Reader then the Reader itself is still in the HTML, and the find function searches there even though it's not visible to the user.
Example:
I am in the Reader and search for 'and' - it finds 21 occurrences on the page. Repeatedly pressing the find shortcut cycles through these with an orange highlight. Everything is working as I would expect.
If I click on the post and then search for 'and' again I get the same number of results - 21 - even though only 3 are visible.
Repeatedly pressing the find shortcut does nothing other than change the
1 of 21
number in the find box. This is because it is highlighting search terms in the main Reader, which is not visible.Overall this isn't a major problem - the terms are still highlighted - and it's going to be pretty difficult to fix.
It causes more of a problem in the desktop app as there is no built-in find function and we need to use
window.find
. This does not highlight all the terms, but highlights individual terms each time it is called. In the case of the single post it just doesn't work well.Note: I've only tried this in Chrome, which is what the desktop app is using.
The text was updated successfully, but these errors were encountered: