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 2de239f commit 088bd1cCopy full SHA for 088bd1c
1 file changed
src/components/Modal/BaseModal.tsx
@@ -383,7 +383,7 @@ function BaseModal(
383
384
const animationInProps = useMemo(() => {
385
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
386
- if (disableAnimationIn || (type && !REANIMATED_MODAL_TYPES.includes(type)) || !shouldUseReanimatedModal) {
+ if (disableAnimationIn && ((type && !REANIMATED_MODAL_TYPES.includes(type)) || !shouldUseReanimatedModal)) {
387
// We need to apply these animation props to completely disable the "animation in". Simply setting it to 0 and undefined will not work.
388
// Based on: https://github.com/react-native-modal/react-native-modal/issues/191
389
return {
0 commit comments