Kent Tong | 17 Aug 2012 07:00
Picon
Favicon

ScrollableView problem on iPhone

Hi,

I am using dojo 1.7.2. I have a ScrollableView containing an EdgeToEdgeList.
It works fine on Android phones. But on iPhone, if I drag/swipe the list
vertically (up or down), the background of the page is temporarily exposed,
until I release the gesture.

Any idea why this is happening?

Thanks!

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/ScrollableView-problem-on-iPhone-tp3988644.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Adrian Vasiliu | 17 Aug 2012 08:30
Picon

Re: ScrollableView problem on iPhone

Hi,


Do you reproduce using dojox/mobile/tests/test_iPhone-EdgeToEdge.html (in Dojo 1.7.x) ?
I would recommend upgrading to 1.7.3 or, better, 1.8. 
If nothing helps, could you provide details about your code (ideally, a runnable test case) and the iOS version number.

Adrian

________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Kent Tong | 17 Aug 2012 11:26
Picon
Favicon

Re: ScrollableView problem on iPhone

Thanks for the reply. But why it is test_iPhone-EdgeToEdge.html instead of
test_iPhone-ScrollableView-*.html?

--
View this message in context: http://dojo-toolkit.33424.n3.nabble.com/ScrollableView-problem-on-iPhone-tp3988644p3988646.html
Sent from the Dojo Toolkit mailing list archive at Nabble.com.
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Adrian Vasiliu | 17 Aug 2012 13:20
Picon

Re: ScrollableView problem on iPhone

Indeed, test_iPhone-ScrollableView-demo.html fits better because it has the EdgeToEdgeList inside a ScrollableView. 

I gave it a a try, from Dojo 1.7.2, and it worked fine for me on both iPhone 4S iOS 5.0.1 and iPhone iOS 4.3.3. The only moment where the background is visible is when you scroll till the top or the bottom of the list - trying to srcroll further reveals the background until you release the touch - but this is the normal behavior, and the behavior is similar on Android (tested on Galaxy Nexus Android 4.0.4).
If you see something different, please provide details about your code and your test device. 
Adrian

2012/8/17 Kent Tong <freemant2000 <at> yahoo.com>
Thanks for the reply. But why it is test_iPhone-EdgeToEdge.html instead of
test_iPhone-ScrollableView-*.html?
________________________________________________________
Dojotoolkit: http://dojotoolkit.org
Reference Guide: http://dojotoolkit.org/reference-guide
API Documentation: http://dojotoolkit.org/api
Tutorials: http://dojotoolkit.org/documentation

Dojo-interest <at> mail.dojotoolkit.org
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest

Gmane