Make disabled elements not eat up mouse events
All checks were successful
Run Tests / test (pull_request) Successful in 1m55s
All checks were successful
Run Tests / test (pull_request) Successful in 1m55s
Browsers make disabled elements eat events rather than let them bubble up This allows containers with disabled elements to have listeners still (Used specifically so after the board rewrite, purchased upgrades can still be dragged)
This commit is contained in:
parent
b40d4bef32
commit
e15eb88a98
1 changed files with 4 additions and 0 deletions
|
@ -66,3 +66,7 @@ ul {
|
|||
.Vue-Toastification__toast {
|
||||
margin: unset;
|
||||
}
|
||||
|
||||
:disabled {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue