Skip to content
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

Simple Scrollbar Tremble on iOS 13 #70

Open
jottin opened this issue May 5, 2022 · 0 comments
Open

Simple Scrollbar Tremble on iOS 13 #70

jottin opened this issue May 5, 2022 · 0 comments

Comments

@jottin
Copy link

jottin commented May 5, 2022

I am using the simple-scrollbar library on a couple sites and it works everywhere nicely except on iOS 13.5.1 (ipad). It does work fine on iOS 15+ (iphone).

I read about some other issues with scrolling in iOS 13 and everyone just says to upgrade! I have tried using overscroll-behavior and nothing. I tried vh units instead of height 100% and that seemed to work however it created other complex layout problems.

So I'm wondering if there is anything else I can do for folks on iOS 13? I located the problem and it has to do with relative positioning on ".ss-scroll" which uses javascript to do the scrollbar calculations. When I remove the positioning, scrolling is smooth except of course the scrollbar disappears. If I leave the positioning as is, the scrollbar slightly trembles or shakes the window once it reaches the top and bottom of scrolling.

Anyone run into this before?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant