Jump to content
Search Community

Elzean

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by Elzean

  1. Hey, 

     

    thanks a lot, i can't believe i missed that... I was looking at the variables and functions in the doc and didn't check well enough the params.

     

    It's now working fine in both ios and desktop :)

     

    Thanks again!

    • Like 1
  2. Hi!

     

    i have a problem to make the function startDrag(e) to work on IOS. Withinn a mousedown on desktop it's working fine, but on IOS i tried severals events (touchstart, touchmove, ...) passing the event or the event.originalEvent, adding event.preventDefault() or trying stuff like "$(ev.target).trigger('mousedown');", but nothing is working. All the events seems to work fine though, if i put some alert inside i can see them pop in IOS.

     

    If i use the normal way with Draggable.create() it's fine too, but in my case i need to use startdrag, the object moved by Draggable.js is not the same object the user press and drag on his screen.

     

    I have an example, it's a bit messy but might help to understand my problem (you need to drag the grey area left and right) : http://firelight-creation.com/julien_tonsuso/flip/

     

    Thanks !

     

     

×
×
  • Create New...