Merge pull request #1500 from virtuacoplenny/whitelist-user-select

fix: do not apply user-select none to inputs
This commit is contained in:
yanas 2017-04-21 13:12:07 -05:00 committed by GitHub
commit dc994173d7
1 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,9 @@
* { /**
* Safari will limit input in input elements to one character when user-select
* none is applied. Other browsers already support selecting within inputs while
* user-select is none. As such, disallow user-select except on inputs.
*/
*:not(input) {
-webkit-user-select: none; -webkit-user-select: none;
user-select: none; user-select: none;
} }