Darghon Posted October 26, 2012 Share Posted October 26, 2012 Hi all, I'm "attempting" to make my application IPad compatible and so far I've been able to fix most problems but one. I have a bunch of clickable divs, which trigger specific events according to the order you click them. for instance, you click on several days and they're marked as selected You click on an event label, get a confirm box and all selected days are added to the event label. Now, once I do that, it doesn't matter where I click next, it registers my click at the last position. so lets say I "press" the screen at coordinates 50, 100, system returns a touchend at null, null next I press the screen at coordinates 100, 200, systems returns a touchend at 50,100 etc... This is very confusing and will result in unwanted actions. Does anyone have any clue why this is? is it IPAD related? or am I doing something wrong with my javascript (jquery) All "click" events are triggered as "touchend" incase of a IPAD Thx for any help Quote Link to comment https://forums.phpfreaks.com/topic/269936-ipad-touchend-event-triggers-1-touch-slow/ Share on other sites More sharing options...
codefossa Posted October 26, 2012 Share Posted October 26, 2012 It sounds like the problem is in your JS. If you showed some code maybe we could help. Here's an example you can try on your iPad. http://xaotique.no-ip.org/tmp/12/ $(document).ready(function() { $("body").html("Click Anywhere"); $(document).click(function(e) { $("body").html("Clicked At: ( " + e.pageX + ", " + e.pageY + " )"); }); }); Quote Link to comment https://forums.phpfreaks.com/topic/269936-ipad-touchend-event-triggers-1-touch-slow/#findComment-1387942 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.