ngryman / jquery.finger

:v: jQuery touch & gestures, fingers in the nose.
https://ngryman.sh/jquery.finger/
MIT License
423 stars 66 forks source link

drag not working in version 27-9-2014 #25

Closed lvr-dev closed 9 years ago

lvr-dev commented 9 years ago

Hi,

I see there already was a question about dragging before, tried to fiddle the code but no success. If I bind a drag-event, it's getting into the function but no dragging takes place. Would be very grateful if you could look into this.

Have figured out now that there is a drag-effect, but the element that should be moved is not dragged along, probably takes just a bit of css-tweaking.

ngryman commented 9 years ago

Hi,

Finger's goal is to to simplify / unify basic pointer events across touch devices and classic devices. It only deals with events and does not implement any sort of visual drag effect which would be out of scope.

If you want to drag an element, you will have to do it yourself based on events data. There are a lot of tutorials out there, for example this one: http://stackoverflow.com/questions/8569095/draggable-div-without-jquery-ui. If you prefer a solution out of the box, you can try this one: https://github.com/heyman/jquery-draggable-touch.

lvr-dev commented 9 years ago

Hi,

thanks for answering. I’ll look into the jqhery-draggable-touch solution.

On 01 Oct 2014, at 01:40, Nicolas Gryman notifications@github.com wrote:

Hi,

Finger's goal is to to simplify / unify basic pointer events across touch devices and classic devices. It only deals with events and does not implement any sort of visual drag effect which would be out of scope.

If you want to drag an element, you will have to do it yourself based on events data. There are a lot of tutorials out there, for example this one: http://stackoverflow.com/questions/8569095/draggable-div-without-jquery-ui. If you prefer a solution out of the box, you can try this one: https://github.com/heyman/jquery-draggable-touch.

— Reply to this email directly or view it on GitHub.