ngDraggable icon indicating copy to clipboard operation
ngDraggable copied to clipboard

Allow select text from a container

Open jorgeunimicro opened this issue 9 years ago • 5 comments

It is not possible to select text that is inside of a draggable element even if you set ng-prevent-drag directive

jorgeunimicro avatar Aug 04 '15 10:08 jorgeunimicro

+1

afmmars avatar Aug 24 '15 16:08 afmmars

Anyone got this working yet?

Slettan avatar Oct 29 '15 10:10 Slettan

Found a temporary fix at least:

In ngDraggable.js, theres an absorbEvent-function. Just add element.focus(); before return false;

Slettan avatar Oct 29 '15 10:10 Slettan

Could you please share a gist or plunker to show an example? Thank you.

jorgeunimicro avatar Oct 29 '15 11:10 jorgeunimicro

+1 I can not highlight text inside a draggable div. Any idea?

pam81 avatar Oct 22 '18 23:10 pam81