Popover inside a Dialog - Dialog regains focus after clicking button to activate popover #2181
-
Is there any way to prevent a Dialog component from regaining focus after clicking on a child component? I'm just calling My goal was to have an internal focused state to check before closing each one, so that I can:
|
Beta Was this translation helpful? Give feedback.
Answered by
stevecastaneda
Jun 1, 2023
Replies: 1 comment
-
Looks like I can do this using |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
stevecastaneda
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looks like I can do this using
event.stopPropagation()
. From this discussion.