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.

Selecting/Highlighting text

See original GitHub issue

Hi,

I’m not sure whether this is a feature request or a bug, but as far as I can tell selecting/highlighting text in the active slide isn’t possible – even if the draggable option is set to false. I think a fix for this would be nice for accessibility reasons. Any ideas?

I’ve included an example here: http://codepen.io/asnoba/full/yyNOQj/

BR, Asger

Issue Analytics

  • State:open
  • Created 9 years ago
  • Comments:12 (1 by maintainers)

github_iconTop GitHub Comments

42reactions
bjmiller121commented, Nov 26, 2014

+1

I have to override this in order to make text in the slide selectable.

.slick-slider {
  -webkit-user-select: text;
  -khtml-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
.slick-list.draggable {
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
13reactions
skyyipcommented, Sep 7, 2017

First Set the option to draggable: false , Then override the css:

.slick-slider {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Highlight or Select Text - Computer Hope
Press and hold down on any text with your finger, drag your finger over the text you'd like to highlight, and then let...
Read more >
How to select or highlight text in Windows | Digital Citizen
Highlighting text in Windows by clicking or tapping works pretty much the same way as selecting multiple items. Click or tap once, and...
Read more >
Apply or remove highlighting - Microsoft Support
Select the text that you want to highlight. · Go to Home and, select the arrow next to Text Highlight Color. The Text...
Read more >
The Fastest Ways to Select Text on Your Computer
The Fastest Ways to Select Text on Your Computer · Click at the Start and End with Shift · Double-Click to Highlight Word...
Read more >
How to Apply, Remove, and Find Highlighted Text in Word
You can do this when the highlighter tool is active if you want to change colors. Click the Text Highlight Color button, choose...
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