[Dialog, Popover] Provide a callback for open/close completion #1208
Labels
component: dialog
This is the name of the generic UI component, not the React module!
component: popover
The React component.
enhancement
This is not a bug, nor a new feature
A prop like
onOpenChangeComplete
is needed for callbacks that need to run when a component gets fully hidden with all animations done, e.g. to reset its internal state. Doing that inonOpenChange
would yield a flash of contents.The text was updated successfully, but these errors were encountered: