Unnecessary selections
ozguncagri opened this issue · comments
Özgün Çağrı AYDIN commented
Yichuan Shen commented
Thank you! That's odd, I already have a user-select rule:
Lines 5 to 6 in abab9db
Which browser are you using? Maybe we need to add more vendor-specific CSS...
Özgün Çağrı AYDIN commented
Maybe you should add another rule with -webkit
prefix. Because I was trying it on Safari 11.0.1. I found this cross-browser solution on stack-overflow;
.noselect {
-webkit-touch-callout: none; /* iOS Safari */
-webkit-user-select: none; /* Safari */
-khtml-user-select: none; /* Konqueror HTML */
-moz-user-select: none; /* Firefox */
-ms-user-select: none; /* Internet Explorer/Edge */
user-select: none; /* Non-prefixed version, currently supported by Chrome and Opera */
}