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:
Andy Zhao 2021-06-04 14:45:23 -04:00 committed by GitHub
parent 8174cd7c7a
commit 8d632d1447
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -124,6 +124,9 @@
// See: https://css-tricks.com/slightly-careful-sub-elements-clickable-things/
& > * {
pointer-events: none;
+ input {
pointer-events: revert;
}
}
}