packery icon indicating copy to clipboard operation
packery copied to clipboard

Draggability: Disable on hover over specfic element, and allow marking of text

Open cod3gen opened this issue 8 years ago • 2 comments

Codepen example: https://codepen.io/anon/pen/JaaPGE

In this example, hovering over one element disables draggability over all elements, is it possible do disable draggability on the specfic element instead?

And even though draggability is disable, im not able to mark and/or copy text inside the draggable element - is there a way around this?

cod3gen avatar Sep 15 '18 14:09 cod3gen

And even though draggability is disable, im not able to mark and/or copy text inside the draggable element - is there a way around this?

You can use the back handle technique with Draggabilly. See https://codepen.io/desandro/pen/znAuH

desandro avatar Sep 15 '18 17:09 desandro

Yeah, handle was the one i where looking for.. And thats more or less the answer for both questions. Thanks 👍

cod3gen avatar Sep 15 '18 20:09 cod3gen