Skip to content

Commit 8c5dd70

Browse files
committed
fix: Bring back onExit callback check
1 parent 15ba776 commit 8c5dd70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/webui/src/client/lib/notifications/NotificationCenterPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ export const NotificationCenterPopUps = translateWithTracker<IProps, IState, ITr
420420
'notification-pop-ups--empty': displayList.length === 0,
421421
})}
422422
>
423-
<AnimatePresence initial={this.props.initialAnimation ?? true}>
423+
<AnimatePresence initial={this.props.initialAnimation ?? true} onExitComplete={this.checkKeepDisplaying}>
424424
{displayList}
425425
{this.props.showEmptyListLabel && displayList.length === 0 && (
426426
<NotificationCenterElement className="notification-pop-ups__empty-list">

0 commit comments

Comments
 (0)