-
18 Nov 2011 8:45 AM #1
Unanswered: Native style momentum scrolling for iOS 5?
Unanswered: Native style momentum scrolling for iOS 5?
http://johanbrook.com/browsers/nativ...rolling-ios-5/
As far i can tell this is not implemented yet in ST2.0.Code:overflow: scroll; -webkit-overflow-scrolling: touch;
Have you worked on this "native" css scroll for lists ? Do you plan to ?
Heard that it could be somehow bugged in IOS5, so i'm wondering where are you on this.
I think it would be great as i am not satisfied with the scrolling experience on an iPhone4 running IOS5.
On a javascript-only solution :
I've been quite impressed by J.Hewitt http://scrollability.com/.
http://scrollability.com/examples/tableview.html is really smooth on my device.
Anything good to extract from this?
Do you think it could be easy to somehow override Ext.List with an Ext.ScrollabilityList ? How should i start ? extending Ext.List or creating a new DataView ?
-
18 Nov 2011 2:54 PM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,611
- Vote Rating
- 435
- Answers
- 3102
To be honest, our scroller works phenomenally and performs fantastic. Not being a marketing guy with those words but it really performs like any native app. That being said, we always have our eye on how to do things better so I can't rule out that we will never look into it.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
24 Nov 2011 4:07 PM #3
Sencha momentum scrolling works great until you insert 20 or more 80x60px jpg thumbnails into a list.. There is pretty big performance drop from what I've seen so far..
Wondering if anyone has tried this technique with Sencha?
http://johanbrook.com/browsers/nativ...rolling-ios-5/
-
30 Dec 2011 2:57 AM #4
Hi
Has anyone tryed this on a Ext.List
I upgraded my iphone 3gs to ios 5 and now
my lists are not scrolling verry well when I put 200 items in there with avatar images..
-
30 Dec 2011 6:05 AM #5Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,611
- Vote Rating
- 435
- Answers
- 3102
You shouldn't have 200 items rendered in a list, that is way too many. You are on a mobile device, you can't do whatever you wish, it has limits.
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
15 Feb 2012 2:35 PM #6
I was wondering if anyone had made any progress on this? I've tried subclassing Ext.Container and modifying the CSS to enable native scrolling for the container's content. I can get it to work on Chrome and Safari but not on iOS.
I've tested the native scrolling (in a simple static HTML file) with a huge grid of images (over 200 images ~15kb each) and the performance is perfect on my iPhone 4. The same layout with only 25 images using Sencha's scrolling is extremely choppy.
I've tried the following CSS on the container's "x-inner" element, but to no avail:
Any tips would be greatly appreciated.Code:.x-inner { overflow: scroll; -webkit-overflow-scrolling: touch; -webkit-box-flex: 0; -webkit-user-drag: element; -webkit-user-select: text; }
-
16 Nov 2012 2:10 PM #7
Maybe the scroll gesture on your device is catched by sencha touch. Perhaps it is possible to avoid this.
Farion


Reply With Quote