flickity icon indicating copy to clipboard operation
flickity copied to clipboard

slider does not release mouse on mouseup

Open subdigger opened this issue 9 years ago • 2 comments

Here is example taken from official site.

https://codepen.io/desandro/pen/MYQWEe

in chrome:

  1. mousedown on any image
  2. drag mouse up
  3. release mouse button
  4. problem here - now slider always cscroll on mouse move

Found that component built on draggable. actually expected it should not to be bound...

subdigger avatar Jul 03 '17 12:07 subdigger

Adding pointer-events: none directly to the images helps. It prevents images from getting "grabbed".

https://codepen.io/corny/pen/JJZKPo

cbergen avatar Jul 04 '17 19:07 cbergen

thanks. that helps

subdigger avatar Jul 04 '17 20:07 subdigger