Add quick fix to resolve input events not bubbling up (#13919)
This is a hacky way to fix an issue where we don't want click events to bubble up generally, with the exception of <input> elements.
This commit is contained in:
parent
8174cd7c7a
commit
8d632d1447
1 changed files with 3 additions and 0 deletions
|
|
@ -124,6 +124,9 @@
|
|||
// See: https://css-tricks.com/slightly-careful-sub-elements-clickable-things/
|
||||
& > * {
|
||||
pointer-events: none;
|
||||
+ input {
|
||||
pointer-events: revert;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue