Ability for dialog root to be rendered anywhere in DOM tree #833
ustyantsevxx
started this conversation in
Ideas
Replies: 1 comment
-
If you nest your dialogs, then the root is already taken care of properly. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Right now dialog always teleports to the end of
body
. In some cases it might be critical to render it inside of some other element. E.g delete confirmation prompt in a drawer (dialog inside of dialog).Basically, it would be cool if dialog had some prop that disables behavior described below 😀 (docs fragment):
Beta Was this translation helpful? Give feedback.
All reactions