cferdinandi/tabby

Scroll jump to anchor then back to top

Opened this issue · 1 comments

When you have an anchor in the URL that is not visible on load, the page will jump to then anchor and the back to the top of the page.
2023-07-31 13 36 04

Changing .focus() to .focus({preventScroll: true}) seems to fix the problem.
I'll open a PR.