Dialogs is current active layer? #3310
Unanswered
MathieuUrstein
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First of all I'd like to thank you all for the amazing work done for this open source UI Component Lib!
I'm currently doing a form dialog component and I'd like to be able to submit my form using a CTRL+Enter keyboard shortcut.
The thing is there can be multiple layer of those form dialogs and I want to trigger the shortcut only for the top most layer.
In other word, is there a way to know that my Dialog component is the active one in case there are multiple layers of dialogs
I found out in your code that you have scoped layering hooks. But I can't find a way to get this info from outside the component. Any advices?
Thanks again.
Beta Was this translation helpful? Give feedback.
All reactions