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 Sep 11, 2012 · 2 comments

Comments

Projects
None yet
4 participants
@gheiler

gheiler commented Sep 11, 2012

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

@ghost ghost assigned jasondscott Sep 11, 2012

@toddparker

This comment has been minimized.

Show comment
Hide comment
@toddparker

toddparker Sep 13, 2012

Contributor

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.

Contributor

toddparker commented Sep 13, 2012

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.

@jaspermdegroot

This comment has been minimized.

Show comment
Hide comment
@jaspermdegroot

jaspermdegroot Sep 17, 2012

Member

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.

Member

jaspermdegroot commented Sep 17, 2012

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment