Text cannot be selected when `draggable` = false
See original GitHub issueHey there, I just checked this out and really like its simplicity and freedom of choice!
Title says it all though, I can’t select text inside a slider when draggable: false
. Any pointer in the right direction is appreciated. Currently I’m using a minimal setup (see website under ‘Installation’).
Cheers, S1SYPHOS
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
Drag parent, but select text on child? - Stack Overflow
I solved this same type of problem by using dedicated drag-handle areas. So instead of adding draggable="true" to some arbitrary parent, ...
Read more >800050 - unable to select text in input[type="text"][draggable]
The input itself can only be selectable or draggable, not both. If you add draggable to the input itself, then it is expected...
Read more >CSS user-select property - W3Schools
The user-select property specifies whether the text of an element can be selected. In web browsers, if you double-click on some text it...
Read more >User Select - Tailwind CSS
Use select-none to prevent selecting text in an element and its children. Try selecting the text to see the expected behaviour. The quick...
Read more >CSS, stop image selection with user-select and dragging ...
A combination of both user-select and draggable should solve your problems. There is also a CSS “user-drag” property but only supported by ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @S1SYPHOS, enjoy 👍🏻!
Works as expected now, good job!