react-native-modalfy icon indicating copy to clipboard operation
react-native-modalfy copied to clipboard

Modal Animation Transition Configs Seemingly Not Working

Open Kaboudouo opened this issue 5 months ago • 1 comments

I'm trying to bypass the default fadeIn animation for the modal. I took a look at the doc and found these potential props to achieve this:

animateInConfig animationIn transitionOptions

Inside my root app file, where I create the stack, I've tried every one of these and in different combinations, but none of them seem to affect the "transition in" animation at all (I may just not know how to use the package correctly). Other options such as disableFlingGesture work as expected.

Expo SDK 50 React Native v0.73.6 NodeJS v18.17.0

(In defaultOptions)

// No effect animateInConfig: { duration: 0, },

// No effect animateInConfig: { duration: 5000, },

// No effect animationIn: ( animatedValue: Animated.Value, toValue: number, callback?: () => void ) => { animatedValue.setValue(toValue); if (callback) callback(); },

// No effect transitionOptions: () => { return { opacity: 1, }; },

Kaboudouo avatar Sep 02 '24 17:09 Kaboudouo