Open asnoba opened 9 years ago
Maybe user-select: none
should only be set when draggable
is true
?
+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;
}
This could potentially be a bad backwards-breaking change; consider there could be thousands of websites which take this current CSS as the default and rely on it.
I actually agree on the premise: It should only be un-selectable when it's a draggable-slider; but i think the change should go in to a minor/major release milestone :smile:
Si.
@simeydotme agreed. On deck for 1.4.
Agreed and +1 for setting user-select: none
when draggable
is true
I see this was added and then removed from milestone 1.4–any plans to add to future milestones?
why was this removed?
@simeydotme Any idea if this feature is going to be implemented? Why was it decided to not implement this (or not document it)?
Issue still exists. I'm sure a lot of developers would really appreciate if it was solved finally. Please, kenwheeler, help us out :)
+1
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;
}
+1
+1 - pls add this to core
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 tofalse
. 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