Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to select text from dndDraggable with dndHandle #120

Open
ovideozn opened this issue Sep 1, 2022 · 1 comment
Open

Unable to select text from dndDraggable with dndHandle #120

ovideozn opened this issue Sep 1, 2022 · 1 comment

Comments

@ovideozn
Copy link

ovideozn commented Sep 1, 2022

Describe the bug
Using dndDraggable on an element adds draggable="true" to it which disables text selection from all of its child elements, even though draggable="true" is redundant when a handle is configured.

To Reproduce
https://reppners.github.io/ngx-drag-drop/

  1. Try selecting text from any mat-card with a handle
  2. Try selecting text from any mat-card with a handle after manually removing draggable="true" from the mat-card using the dev tools

Expected behavior
Can select text from child elements when a handle is used

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Chrome
  • Version 104
@puranjayjain
Copy link

If you have text selection enabled in a drag handle then you'll see a ghosting drag image when dragging which is not en expected behavior so you'll have to disable dragging to see text selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants