Closed lukeheuer closed 13 years ago
Interesting, I havent tried on Mobile. Not sure if it's something that should be enabled on mobile browsers. Maybe I can make it a preference. Anyway, I think I know what's wrong. It's probably relying on touch events instead of click events.
Yeah definitely. iOS wraps mouse events into appropriate touch events pretty well. On Android I've had good luck setting up listeners for ontouchstart and ontouchend events in parallel to make sure all is smooth.
Cool, i'll add support for those events, and let you know when it's in, then i'll have to have you test it to make sure it's fixed. Thanks for the warning.
Ok, so I added touchbegin and touchend events. Can you give it a shot and see if it works now? It seems kind of strange that it's not automatically mapping the click events to touch events.
Cool, just had a minute to test it. It's working perfectly. Thanks!
Awesome!
Only tested on the Android 2.2 browser (Chrome Mobile), I'm assuming previous versions are affected as well. Both elements do not change states when touched. All other elements work perfectly though.
You could also add Mobile Safari 3+ to the Tested & Compatible browsers, just checked and it's working flawlessly on there.