Open klemay opened 3 years ago
Notes from a conversation in Slack: This gets tricky when a user is filtering by search term rather than by document location. For example, visit this PDF and search the sidebar for the term "sequence". The sidebar looks like this:
When a user clicks "Clear search", where should we scroll the sidebar to? Should it be to the first search result?
...or would it be possible to have different behaviors for "Show all" vs "Clear Search"?
Steps to reproduce:
Expected behavior
The sidebar shows the annotation I was just looking at, with the preceding and following annotations being viewable by scrolling up or down in the sidebar
Actual behavior
The sidebar scrolls all the way back to the top. You have to scroll and manually find the annotation you were just looking at:
Notes