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
Random Scrollposition #61
Comments
Hi Thank you for using Swiffy Slider. I can see the issue, but I think it is one of the many plugins you have on the site - there is a lot of DOM manipulation happening after load. I cannot reproduce the issue in an isolated environment with only the slider script involved - also it behaves as expected with same configuration on the config page: https://swiffyslider.com/configuration/?slider-item-show=slider-item-show4&slider-item-reveal=slider-item-reveal&slider-item-snapping=slider-item-snapstart&slider-nav-scrollbar=slider-nav-scrollbar Can you reproduce the issue with no other scripts running on the page, I will be happy to look into it. BR Nicolai |
Hi Nicolai, thank you for the fast response. I've found the issue, a prevent fouc script used the following css:
After I've removed the line the issue is solved. Kind regards, Matthias |
Great! Thanks for letting me know. |
Describe the bug
The position of the scrollbar is random and changes upon refresh.
To Reproduce
Expected behavior
With class slider-item-snapstart the scrollposition should be start, not a random position.
Screenshots
swiffy-scrollposition-bug.mp4
Desktop
Problem seems not to occur on the following setups
IOS Safari & Chrome
Windows Firefox
The text was updated successfully, but these errors were encountered: