Dialog content rerenders and StrictMode #3414
-
Hello, In StrictMode, I've notice that childrens of a I have reproduced the behaviour using Ariakit latest version in this codeSandBox Is it an expected behaviour ? Best regards 👋 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, that's expected. It's because the dialog is rendered in a portal. You can adjust it by setting |
Beta Was this translation helpful? Give feedback.
Yes, that's expected. It's because the dialog is rendered in a portal. You can adjust it by setting
<Dialog portal={false}>
to see the difference.