furf / jquery-ui-touch-punch

A duck punch for adding touch events to jQuery UI
http://touchpunch.furf.com/
3.51k stars 1.34k forks source link

Windows Phone 7 support ? #24

Open mxgnr opened 12 years ago

mxgnr commented 12 years ago

Hi,

Thanks for provide this little script which help me a lot with Jquery UI functions.

However, when i tried to test my work on Windows Phone 7 emulator (in the Windows Phone SDK), the slider won't work. I don't know if the script is supposed to support IE mobile, but have you a fix or another method to offer me ?

Thanks :)

georgestephanis commented 12 years ago

Max -- this is actually a Windows Phone issue. The modified version of IE9 that it uses doesn't actually recognize touch events. At all. The best you can do is try to catch things like you would catch clicks.

ontouchstart literally does not exist in Windows Phone 7/7.5 -- way to go, Microsoft. Advancing the web yet again.

WallyDoodlez commented 11 years ago

I just tried the elements you have on your home page on the "Try Some Examples" section with my new WP8 lumia 920, and it seems like that it is responding to touch events. However, it seems to stop recognizing it 1 second after. I tried dragging the draggable, it moved a little and then stopped. Do you currently have plans to make it work on WP8 devices?

----update---- Actually, I realized that when i drag very very slowly, it drags fine. I hope there will be a fix coming

georgestephanis commented 11 years ago

My guess is that the dragging just isn't keeping up with your hand, so it thinks you're no longer over the element.