desandro / draggabilly

:point_down: Make that shiz draggable
https://draggabilly.desandro.com
MIT License
3.86k stars 387 forks source link

dragEnd event can`t get the pointer #113

Closed Syes-K closed 8 years ago

Syes-K commented 8 years ago

dragend_bug

Syes-K commented 8 years ago

and some other was same to the dragEnd

desandro commented 8 years ago

Thanks for reporting this issue. On dragEnd on desktop, the pointer argument will be the MouseEvent.

pointer - Type: MouseEvent or Touch - the event object that has .pageX and .pageY

From the look of your screenshots, that appears to be the case. Is there another bug? Can you put together a reduced test case? See Contributing guidelines

Syes-K commented 8 years ago

dragstart

all event was the same result pointerDown pointerMove pointerUp dragEnd dragMove dragStart staticClick