We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 978bdaf commit 8ebca13Copy full SHA for 8ebca13
1 file changed
src/components/Modal/BaseModal.tsx
@@ -382,6 +382,7 @@ function BaseModal(
382
);
383
384
const animationInProps = useMemo(() => {
385
+ // disableAnimationIn applies only to legacy modals. This should be removed once we fully migrate to `reanimated-modal`.
386
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
387
if (disableAnimationIn && ((type && !REANIMATED_MODAL_TYPES.includes(type)) || !shouldUseReanimatedModal)) {
388
// We need to apply these animation props to completely disable the "animation in". Simply setting it to 0 and undefined will not work.
0 commit comments