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
/** Props added to the `Transition` component that used to animate overlay and body, use to configure duration and animation type, `{ duration: 200, transition: 'pop' }` by default */
55
55
transitionProps?: TransitionOverride;
56
56
57
+
/** Called when exit transition ends */
58
+
onExitTransitionEnd?: ()=>void;
59
+
60
+
/** Called when enter transition ends */
61
+
onEnterTransitionEnd?: ()=>void;
62
+
57
63
/** Determines whether `onClose` should be called when user presses the escape key, `true` by default */
/** Props passed down to the `Transition` component that used to animate dropdown presence, use to configure duration and animation type, `{ duration: 150, transition: 'fade' }` by default */
62
62
transitionProps?: TransitionOverride;
63
63
64
+
/** Called when exit transition ends */
65
+
onExitTransitionEnd?: ()=>void;
66
+
67
+
/** Called when enter transition ends */
68
+
onEnterTransitionEnd?: ()=>void;
69
+
64
70
/** Dropdown width, or `'target'` to make dropdown width the same as target element, `'max-content'` by default */
65
71
width?: PopoverWidth;
66
72
@@ -186,6 +192,8 @@ export function Popover(_props: PopoverProps) {
186
192
positionDependencies,
187
193
opened,
188
194
transitionProps,
195
+
onExitTransitionEnd,
196
+
onEnterTransitionEnd,
189
197
width,
190
198
middlewares,
191
199
withArrow,
@@ -279,6 +287,16 @@ export function Popover(_props: PopoverProps) {
0 commit comments