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
this should be the onCloseAutoFocus event handler on the Dialog.Content. This event handler is called when the focus moves back to the trigger after the close animation is complete. So I think this could fullfill your needs.
Feature request
Overview
Is it possible to add a fully closed event to the dialog component?
Examples in other libraries
such as
afterClose
in antd,onCloseComplete
in chakra-uiWho does this impact? Who is this for?
I hope to make @radix-ui/react-dialog work well with nice-modal-react
Some people prefer to use programmatic methods to drive dialogs.
Additional context
The text was updated successfully, but these errors were encountered: