joseph / Monocle

A silky, tactile browser-based ebook JavaScript library.
http://monocle.inventivelabs.com.au
MIT License
743 stars 200 forks source link

Monocle + PhoneGap / iOS5 crashes when trying to listen on the iFrame #72

Open totach opened 12 years ago

totach commented 12 years ago

Im adding listeners to the iframe document to prevent touchmove events. The listeners are added whenever the component changes.

Almost always, the App crashes on the 2nd component with the message: Thread 4 WebThread: Program received signal: "EXC BAD ACCESS"

Same error happens if I enable the Event's TouchMonitor on the iOS5.

When testing on the iOS5 Safari browser - it crashes too.

Code works fine on iOS4.x

Any clue would be highly appreciated.

Thanks,

Itai

totach commented 12 years ago

The problem was solved using jQuery bind method.

NirbhayK commented 11 years ago

@joseph Need to close this issue.