Closed winkcor closed 5 months ago
Good day @winkcor :)
I've identified the issue and will publish a fix soon, thanks for the report!
@winkcor I've published v2.9.0
which includes a fix for this issue. Please try it out and give feedback :)
@winkcor I've just noticed that you are using scroll-behavior: smooth
. v2.9.0
fixed this behavior but didn't take this style into account. I've now published v2.9.1
which fixes this behavior together with scroll-behavior: smooth
:)
Hi @KingSora
Yes, version 2.9.1
fixed the problem.
thanks a lot.
Describe the bug When open link with fragment at the first load of page(not refreshing) default scroll of page is the target section but after loading the scroll bar it change the scroll to top of the page
To Reproduce Steps to reproduce the behavior:
Expected behavior Do not change the scroll position from the section to the top page on the first load
Examples CodeSandbox On codeSandbox can't open new page but if you set the fragment and then hit
Split panel
you can see changing the scrollI make speed of this video slow so can see the scroll change.
url: /#3
https://github.com/KingSora/OverlayScrollbars/assets/111268227/157f20f4-89c4-4e94-bb15-f7f8d5b0a5d6