Unexpect scrollBehavior
about savedPosition
in Safari and Firefox
#1431
Labels
browser quirk
Specific to a browser
bug
Something isn't working
has workaround
A workaround has been found to deal with the issue
Version
4.0.15
Reproduction link
codesandbox.io
Steps to reproduce
It also happened in chrome, if you scroll page to the end before click anchor link in step5.
What is expected?
Jump to the correct header.
What is actually happening?
Jump to
savedPostion
.It meets code logic, but does not meet the expectations of use.
Notice: I have used CSS scroll-behavior in
:root
.The text was updated successfully, but these errors were encountered: