After the initial setup, I tried to use AnimatePresence together with some basic enter and exit animations. I was trying to use the "exitBeforeEnter" prop described in the documentation. After opening the app I received an error that I should replace exitBeforeEnter with mode="wait". After I replaced the prop animations started to work, but the typescript is reporting that the given prop is not existing in the type.
Expected Behavior
Prop types are updated to match the current AnimatePresence logic.
Is there an existing issue for this?
Do you want this issue prioritized?
Current Behavior
After the initial setup, I tried to use AnimatePresence together with some basic enter and exit animations. I was trying to use the "exitBeforeEnter" prop described in the documentation. After opening the app I received an error that I should replace exitBeforeEnter with mode="wait". After I replaced the prop animations started to work, but the typescript is reporting that the given prop is not existing in the type.
Expected Behavior
Prop types are updated to match the current AnimatePresence logic.
Steps To Reproduce
<AnimatePresence>
component to your project together with some<MotiView>
in itVersions
Screenshots
Reproduction
<AnimatePresence>
component to your project together with some<MotiView>
in it