Changes between Initial Version and Version 1 of Ticket #15821, comment 11


Ignore:
Timestamp:
Aug 9, 2012, 1:11:58 PM (7 years ago)
Author:
Adrian Vasiliu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15821, comment 11

    initial v1  
    33on(win.doc, "touchmove", function(evt){
    44  var elem = win.doc.elementFromPoint(
    5     evt.pageX - win.body().parentNode.scrollLeft,
    6     evt.pageY - win.body().parentNode.scrollTop
     5    evt.pageX - win.global.pageXOffset,
     6    evt.pageY - win.global.pageYOffset
    77  );
    88  if (elem){
     
    1515The results on iPhone 4S iOS 5.0.1.:
    1616- edurocher's touch_bug.html: OK
    17 - tests/dnd/test_dnd.html: no exception anymore (as expected), but as soon as the page is scrolled toward the bottom the DND doesn't seem to work (sometimes the Drag works, but the drop never works when the page is scrolled).
     17- tests/dnd/test_dnd.html: OK (DND works even when the page is scrolled)
    1818- demos/touch: the slider is still KO (but as I said it wasn't working with the previous version either).