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

iron-list scrolling is laggy on iOS after first 20 items #61

Closed
deadlyfingers opened this Issue Aug 12, 2015 · 4 comments

Comments

Projects
None yet
3 participants
@deadlyfingers

deadlyfingers commented Aug 12, 2015

I've have an iron-list element running buttery smooth on desktop but is very laggy on iOS simulator or device. If you scroll quickly on iOS the items jump back up and often white space is left until the scrollbar comes to a complete halt.

Polymer 1.0 iron-list project:
https://www.dropbox.com/s/oxihd7eddknbq5b/PolymerIronList.zip?dl=0
localhost setup: npm install && bower install then run with node server.js.

Sample iOS project to just build & run:
https://www.dropbox.com/s/w1xtjzyf53s4pfz/PolymerApp.zip?dl=0

Is this something with flex vs fit layout or a bug?

@blasten

This comment has been minimized.

Member

blasten commented Aug 13, 2015

@deadlyfingers it sounds like you are running it from a webview, is that right? or are you using iOS Safari?

@deadlyfingers

This comment has been minimized.

deadlyfingers commented Aug 13, 2015

Yes, when running in WebView as a native iOS app is where the laggy scroll issue happens. (However running inside iOS Safari the iron-list scrolls perfectly smooth!) - this on all iOS 8.4 btw.

@blasten

This comment has been minimized.

Member

blasten commented Aug 13, 2015

Unfortunately, that's a limitation. Apple still use an old webkit version for Webviews that doesn't support the CSS property -webkit-overflow-scrolling: touch

@blasten blasten closed this Aug 13, 2015

@hereiam133

This comment has been minimized.

hereiam133 commented May 25, 2016

This is an issue also in both a cordova wrapped android app and just in a chrome web browser

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment