core-list & mobile scrolling

249 views
Skip to first unread message

maxs...@gmail.com

unread,
Jun 10, 2014, 2:44:24 PM6/10/14
to polym...@googlegroups.com
core-list appears to break on iOS (items stop being rendered) when used with "-webkit-overflow-scrolling: touch". Is enabling smooth mobile scrolling in the works for it?

Also curious around the plan for mobile scrolling in general - should we expect any type of official scroller component in the future? I'm not completely current on the state of mobile scrolling/lists but my understanding is that "-webkit-overflow-scrolling: touch" mostly eliminated the need for fancy JS scrolling optimizations or simulations but that positioning, snapping, pull to refresh, zooming, infinite scrolling, etc are common nice to haves in a scroller widget. Or is this something we should plan to handle ourselves?

maxs...@gmail.com

unread,
Jun 14, 2014, 12:49:25 PM6/14/14
to polym...@googlegroups.com, maxs...@gmail.com
Did I ask too much here? Hoping at least just to know I'm not missing something on core-list, it isn't possible to get it scrolling smoothly on iOS currently right?

Scott Miles

unread,
Jun 14, 2014, 3:01:00 PM6/14/14
to maxs...@gmail.com, polymer-dev
>> when used with "-webkit-overflow-scrolling: touch"

The method used to make touch-scrolling smooth on iOS includes eliminating the chance for JavaScript to do anything. So by definition, this flag is incompatible with `core-list`, which is attempting to virtualize large lists via JavaScript.


>> should we expect any type of official scroller component in the future? 

Yes.

>>  "-webkit-overflow-scrolling: touch" has mostly eliminated the need for fancy JS scrolling optimizations or simulations but that positioning, snapping, pull to refresh, zooming, infinite scrolling, etc are common nice to haves

I believe that statement is in opposition to itself. As above, native touch-scrolling disables JavaScript, and removes the ability to implement any of the 'common nice to haves', and therefore requires 'fancy JS scrolling' is required to have any custom behavior.

Optimizing core-list and improving scroll behaviors is one of our major goals, stay tuned for updates.

Scott

On Tue, Jun 10, 2014 at 11:44 AM, <maxs...@gmail.com> wrote:
core-list appears to break on iOS (items stop being rendered) when used with "-webkit-overflow-scrolling: touch". Is enabling smooth mobile scrolling in the works for it?

Also curious around the plan for mobile scrolling in general - should we expect any type of official scroller component in the future? I'm not completely current on the state of mobile scrolling/lists but my understanding is that "-webkit-overflow-scrolling: touch" mostly eliminated the need for fancy JS scrolling optimizations or simulations but that positioning, snapping, pull to refresh, zooming, infinite scrolling, etc are common nice to haves in a scroller widget. Or is this something we should plan to handle ourselves?

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/4e6c892c-dbc3-4a71-aa50-7f2552dab1ba%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

maxs...@gmail.com

unread,
Jun 15, 2014, 1:57:09 PM6/15/14
to polym...@googlegroups.com, maxs...@gmail.com
Ah now it is clear, thank you for explaining. You guys are amazing. I apologize for my ignorance :P
Reply all
Reply to author
Forward
0 new messages