fix: do not apply user-select none to inputs

Safari will prevent proper input behavior when user-select none
is applied. It prevents such actions as putting in a room lock
password or setting a room lock password. Other browsers allow
selecting on inputs while user-select is none.
This commit is contained in:
Leonard Kim 2017-04-13 15:32:02 -07:00
parent 607bef8d68
commit 283140d16a
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;
} }