You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would love for my React Aria dialogs to be closed by platform specific actions, like HTML's native dialogs. Aria dialogs/modals are rendered as simple divs, so they don't inherit that behavior.
Is it possible to compose their behavior in user space? Perhaps by rendering a <dialog> inside of a modal and syncing their state by adding the proper event listeners? I'm curious if anyone has tried that.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I would love for my React Aria dialogs to be closed by platform specific actions, like HTML's native dialogs. Aria dialogs/modals are rendered as simple divs, so they don't inherit that behavior.
Is it possible to compose their behavior in user space? Perhaps by rendering a
<dialog>inside of a modal and syncing their state by adding the proper event listeners? I'm curious if anyone has tried that.Beta Was this translation helpful? Give feedback.
All reactions