Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Blank screen while scrolling in Safari mobile #7

Closed
debianw opened this issue Jul 28, 2014 · 9 comments
Closed

Blank screen while scrolling in Safari mobile #7

debianw opened this issue Jul 28, 2014 · 9 comments

Comments

@debianw
Copy link

debianw commented Jul 28, 2014

I'm testing the infinite list with 10.000 items, Safari mobile shows a white screen while you scroll. Seems that it is taking to much time to render a new batch of items.

@debianw
Copy link
Author

debianw commented Jul 28, 2014

Looking into the code I just noticed that the list is refreshed on each scroll event. on Desktop the scroll event is triggered constantly but on mobile it is triggered after scroll stops. So the issue is there, how to keep the list refreshed on mobile browsers that are not constantly reporting the scroll information.

@sorvell sorvell self-assigned this Jul 31, 2014
@sorvell
Copy link
Contributor

sorvell commented Jul 31, 2014

Support for IOS is limited right now due to this issue. The core-list needs to be combined with a scrolling element to support IOS. The plan is to provide a basic scrolling element using one of the javascript scrolling libraries and ensure that it works correctly with core-list.

@debianw
Copy link
Author

debianw commented Jul 31, 2014

Actually I'm creating a component that extends from core-list and is using iscroll. I'll be doing some unit testing before I publish it. It's name will be simple-list. Any other suggestion for the component's name is more than welcome :)

@debianw
Copy link
Author

debianw commented Aug 1, 2014

I just published simple-list https://github.com/debianw/simple-list

extends from core-list and use iscroll instead of native scroll. Good performance (no memory leaks)

@sorvell
Copy link
Contributor

sorvell commented Aug 1, 2014

Nice job!

@robdodson
Copy link
Contributor

COOL! 🍰

@debianw
Copy link
Author

debianw commented Aug 1, 2014

Thanks guys !

@cayasso
Copy link

cayasso commented Aug 1, 2014

Awesome project!!!

@sorvell sorvell added p1 and removed p2 labels Aug 15, 2014
@sorvell sorvell assigned kevinpschaaf and unassigned sorvell Aug 15, 2014
kevinpschaaf added a commit that referenced this issue Sep 26, 2014
2-way binding, bindable selection, and efficiency improvements - fixes #2 #7 #9 #13 #15
@kevinpschaaf
Copy link
Contributor

Support for iOS8 scroll events added in #30, which allows for smooth inertial scrolling of virtualized list, comparable to Android. Support for -webkit-overflow-scrolling: touch won't be supported for pre-iOS8; developers can use solutions such as iScroll as discussed above if that is an important use case (should be non-issue in a few more months when virtually all users have upgraded and WKWebView is widely supported).

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

No branches or pull requests

5 participants