DataZombies / jQTouch

jQT extensions jqt.activityIndicator, jqt.bars (with numeric badges), jqt.checkGroup & jqt.segmentedControl.Get updates via Twitter http://twitter.com/HeadDZombie. If you find this fork useful please make a donation via PayPal (http://tinyurl.com/2fpmx27). See below for demo links.
MIT License
159 stars 34 forks source link

window.innerHeight changed in IOS 4.2.1 (under phonegap) #17

Closed ghowen closed 13 years ago

ghowen commented 13 years ago

Just if you are wondering: When running within PhoneGap, window.innerHeight differs in IOS 4.2.1 from IOS 4.0 and 4.1. In portrait mode on the iPhone 3GS it used to return 460, now it returns 480. This does affect iScroll, since the pageHeight is derived from this variable.

Basically what happens is that scrolling pages are cut off 20 pixels on the bottom. If there is no differentiation in the extension, apps will behave differently if run on different versions of IOS.

DataZombies commented 13 years ago

Thanks. I'll see what I can do about it.

ghowen commented 13 years ago

Great. I also reported this as a bug with PhoneGap, since this apparently does not affect mobile Safari on 4.2.1.