question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Text cannot be selected when `draggable` = false

See original GitHub issue

Hey 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:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
davidjerlekecommented, Sep 14, 2020

Thanks @S1SYPHOS, enjoy 👍🏻!

1reaction
S1SYPHOScommented, Sep 14, 2020

Works as expected now, good job!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found