Skip to content
This repository

Blackberry OS 5 and iOS 3.x broken on loading with JQuery Mobile 1.2.0 Beta 1 in combination with JQuery 1.8 or 1.8.1 #4978

Closed
gheiler opened this Issue September 11, 2012 · 2 comments

4 participants

gheiler Jason Scott Jasper de Groot Todd Parker
gheiler

JQuery Mobile 1.2.0 Beta 1 in combination with JQuery 1.8 or 1.8.1 completely brokes on loading, it gets stuck on loading spinner. If you change JQuery to 1.7.2 or lower it works as it should. Here the Jsbin to demonstrate:

http://jsbin.com/welcome/21877

Tested on a BlackBerry 9000 OS v5.0.0.1067

Todd Parker

Turns out this this is due to a change in jQuery core that removed a lot of old offset code in favor of getBoundingClientRect:
jquery/jquery#726

BB5 and older iOS (pre-4.0) don't support elem.getBoundingClientRect() and are erroring out. We use this for the loader and slider so we'll need to coordinate on a fix with core. Seems to be something we can mitigate on our end by switching how we approach these plugins.

Jasper de Groot
Owner

Closing as fixed by commit e356019 and 83bf40c.

BB5 and iOS3 (browsers that don't support getBoundingClientRect) get C grade support when used with jQuery core 1.8.x and up.

Jasper de Groot uGoMobi closed this September 17, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.