-
Notifications
You must be signed in to change notification settings - Fork 17
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
Anchor Bug in Edge and Safari #4
Comments
Hi there. Thanks for submitting this issue. I've confirmed this issue thanks to your repro. |
Version 2.0.6 works in Safari (scrolls to correct location via anchor update), 2.0.7 causes the same/similar bug as was reported in Edge under 2.0.6. |
Hi there. I'm reopening the issue. Do you a simple reproducible demo I can take a look and investigate? Also, which Safari version are you seeing this behavior in? |
Seeing a similar thing in Safari 12.1.2. Seems to happen in two stages — scrolls first to what might be the correct location (it's too quick for me to be sure. it's close anyway) and then to somewhere else (close the starting point, possibly back at the starting point) |
I dont own a device but maybe my demo might still help |
By the way, do you support IE11 too? 🙈 (https://zealous-tereshkova-e96a40.netlify.com) |
Thank you for your time and effort!! |
Closing this issue since the original issue may have been fixed in v2.0.13. If that is not the case, feel free to comment again, and I'll reopen this issue. |
@wessberg thanks for your work on this polyfill! It seems that https://codepen.io/FabianK/pen/zJLLrR I can't see from the diff however how it would: maybe the dependencies updates? |
@gpbl I believe I've found the solution: The polyfill sets the property The workaround was for me to set It's ugly, but it works. But could cause troubles in the future… 🙄 |
Hi I found a bug here:
https://codepen.io/FabianK/pen/zJLLrR
As you can see clicking on the buttons will move you somewhere but not to the image.
If you remove scroll-behavior="smooth" on <ul class="scroll" ... it will work again but without "smooth"
The text was updated successfully, but these errors were encountered: