jQWidgets Forums
Forum Replies Created
-
Author
-
August 21, 2012 at 3:52 pm in reply to: dragEnd event Properties 'clientX' and 'clientY' are undefined on iOS dragEnd event Properties 'clientX' and 'clientY' are undefined on iOS #6965
Thanks Peter, that is exactly the information I needed.
My listbox drag and drop is now working on the iPad.
Kindest regards,
DavidAugust 21, 2012 at 2:54 pm in reply to: dragEnd event Properties 'clientX' and 'clientY' are undefined on iOS dragEnd event Properties 'clientX' and 'clientY' are undefined on iOS #6963Hi Peter,
I have tried to use the code you supplied from within my dragEnd event handler, but some of the items you refer to (such as event.originalEvent and event.touches) are undefined within the event structure I’m being passed on iOS.
Since I have yet to discover a browser for the iPad that will let me set breakpoints as Firefox/Firebug does on the Windows desktop, I have been debugging by writing the values of various objects from the event structure into my HTML document and this is what I get:
Safari on iPad
event.originalEvent=undefined
event.touches=undefined
event.pageX=undefined event.pageY=undefined
event.args.originalEvent=[object Object]
event.args.originalEvent.clientX=undefined event.args.originalEvent.clientY=undefined
event.args.originalEvent.pageX=undefined event.args.originalEvent.pageY=undefined
event.args.originalEvent.touches=undefined
Firefox on Windows
event.originalEvent=undefined
event.touches=undefined
event.pageX=undefined event.pageY=undefined
event.args.originalEvent=[object Object]
event.args.originalEvent.clientX=276 event.args.originalEvent.clientY=100
event.args.originalEvent.pageX=276 event.args.originalEvent.pageY=100
event.args.originalEvent.touches=undefined
Regards,
David.July 5, 2012 at 2:08 pm in reply to: Cancelling a drag operation in the dragStart event handler Cancelling a drag operation in the dragStart event handler #5701Thanks Peter.
I suspected as much, but I thought I’d give it a go anyway
Regards,
David.July 5, 2012 at 1:24 pm in reply to: Drag and Drop between Listboxes in iOS Drag and Drop between Listboxes in iOS #5697Thanks Neelam, but my question related to drag and drop operations on iOS devices.
June 26, 2012 at 8:26 pm in reply to: Listbox item "title" is empty in new inserted item Listbox item "title" is empty in new inserted item #5354UPDATE: The original post has now been changed so as to escape all the HTML tags.
Ooops! Sorry, the code didn’t come out as I expected due to the HTML tags, I guess.
I’ll reformat it with the tags esacaped and repost it in a little while.
David
June 24, 2012 at 3:19 am in reply to: Determining the location of a drop when dragging items Determining the location of a drop when dragging items #5265Thanks Peter, that works perfectly.
Regards, David.
June 20, 2012 at 1:01 pm in reply to: Drag and Drop between Listboxes in iOS Drag and Drop between Listboxes in iOS #5143Thanks Peter, that’s good news.
Now the follow up question – typically, how far apart are your builds? Days, weeks, months, …?
Regards,
David. -
AuthorPosts