Scoped conflictBehavior #131
ofek-frame
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you have a component which registers a hotkey, and it then opens a dialog which has the same hotkey in place (In my app, handling for ctrl+z, for example) - a contextual replace which uses the "new" hotkey whicl the dialog is mounted and revert to the old one when it unmounts would be very useful.
This can't really be done via stopPropagation, as you ahve no control over the event listeners order (I think), so "allow" isn't a current solution
Beta Was this translation helpful? Give feedback.
All reactions