Manann Sseth
Manann Sseth

Reputation: 2745

Phonegap and Android Scrolling Issue

I am deploying application with Phonegap for Android and iPhone.

I am using style -> Overflow : scroll for Scrolling contents.

Its working properly in iPhone Application. Even working on Android Applications for version 3.0 and later versions.

But Facing Issue : The entire page scrolls up/down instead of the specific scroller of data in older versions like 2.1 & 2.2

Any Solution for this ?

Thanks in advance.

Upvotes: 0

Views: 3960

Answers (2)

Melvin Joseph Mani
Melvin Joseph Mani

Reputation: 1496

I think you can use iScroll for this purpose,for getting this script you can look at this link. iScroll4 supports iPhone/Ipod touch (>=3.1.1) iPad ( >=3.2) , Android ( >=1.6) , Desktop Webkit, Firefox, Opera desktop/mobile etc.

Upvotes: 2

Zathrus Writer
Zathrus Writer

Reputation: 4331

I believe Android and iPhone devices in older versions did not support Overflow at all, or in limited instances, so the only way to overcome this would be to involve some JavaScript, just as jQuery Mobile did in their previous versions

also, maybe check this: How much support is there for -webkit-overflow-scrolling:touch

Upvotes: 1

Related Questions