-
Notifications
You must be signed in to change notification settings - Fork 745
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
Infinite scroller has jitter on iOS #39
Comments
We are scrolling inside an element and don’t have |
We do have We are scrolling inside an element because that prevents us from creating a large solid color layer for the document body. The scrolling contents layer is actually completely transparent (draws nothing) because all of the items within are composited which means that it doesn't incur any layer cost. I hadn't noticed any jitter on iOS but I clearly need to play with it more. I suspect that it may be because we're very aggressively setting the scroll position to what we think it should be, which could cause rounding errors on a high dpi display while smooth scrolling? |
It looks like setting scroll position is conflicting with the rubber banding effect. You can see the jitter as you rubber band upwards at the top when there are more than one viewport height worth of contents. |
smfr, webkit's compositing/scrolling expert, indicated there is some jitter on iOS with the demo, at the moment.
cc @surma @flackr
The text was updated successfully, but these errors were encountered: