Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicked search results open the page at the remembered position not the result's text position #20

Open
redactedscribe opened this issue Nov 4, 2023 · 1 comment

Comments

@redactedscribe
Copy link

When you click a search result, the page will open at the remembered position of the file. You have to click the search result a second time for the page to scroll up to the position of the search result's text.

If a search result is clicked, the file should open and go straight to the result's position in the file, skipping over the logic to restore the remembered position.

Thanks.

@ludovicchabant
Copy link
Owner

Indeed... I'm not sure how to detect this, though. I have a workaround that sort of works in most cases, but not all cases. I'll take suggestions if anybody has a good idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants