I found a strange behavior, I cannot select a text in a <button>
element. As an example, please try to select a text in these buttons of Bootstrap: http://getbootstrap.com/components/#list-group-buttons
Is it some standard behavior or is it editable? I need to select text in buttons.
You could do the reverse of this question: create the following CSS3:
.list-group-item{
-webkit-touch-callout: text;
-webkit-user-select: text;
-khtml-user-select: text;
-moz-user-select: text;
-ms-user-select: text;
user-select: text;
}
and link the stylesheet. It works on my firefox.
Edit: changed "all" to "text" as Nenad Vracar said. It works in Chrome and Firefox for me now
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With