Skip to content

Commit 088bd1c

Browse files
committed
fix test for good this time
1 parent 2de239f commit 088bd1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Modal/BaseModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ function BaseModal(
383383

384384
const animationInProps = useMemo(() => {
385385
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
386-
if (disableAnimationIn || (type && !REANIMATED_MODAL_TYPES.includes(type)) || !shouldUseReanimatedModal) {
386+
if (disableAnimationIn && ((type && !REANIMATED_MODAL_TYPES.includes(type)) || !shouldUseReanimatedModal)) {
387387
// We need to apply these animation props to completely disable the "animation in". Simply setting it to 0 and undefined will not work.
388388
// Based on: https://github.com/react-native-modal/react-native-modal/issues/191
389389
return {

0 commit comments

Comments
 (0)