Skip to content

Commit

Permalink
feat(MultiSelectPanel): add appear=true to fix an issue with callin…
Browse files Browse the repository at this point in the history
…g onEnter callback during initial mount
  • Loading branch information
iamkyrylo committed Sep 17, 2024
1 parent 7d4d30e commit 64170d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/multiselect/MultiSelectPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,12 @@ export const MultiSelectPanel = React.memo(
in: props.in,
timeout: { enter: 120, exit: 100 },
options: props.transitionOptions,
appear: true,
unmountOnExit: true,
onEnter,
onEntered,
onExit: props.onExit,
onExited: props.onExited
onExited: props.onExited,
},
getPTOptions('transition')
);
Expand Down

0 comments on commit 64170d4

Please sign in to comment.