Animated.View component misbehaving when adding entering and leaving transitions #6756
Replies: 2 comments 6 replies
-
Hey @AlexMachin1997! Your problem looks familiar to me. Can you check which navigator does this app use? If it's a You can disable header in this way: <Stack.Navigator
...
screenOptions={{
...
header: () => null, // add this
}}>
...
</Stack.Navigator> Let me know if the issue is related to the |
Beta Was this translation helpful? Give feedback.
-
Issue created: #6869 |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
It's my first time posting here so if I'm missing anything let me know I'm happy to provide any additional details 😃
I'm just in the process of going through an Airbnb clone using expo sdk v52 with the new architecture enabled and I noticed something quite odd with how the Animated.view component works.
So on one of my screens I've got a fixed footer which always sits at the bottom of my screen, this works fine until you add an entering or exiting.
How am using Animated.View component for my fixed footer:
With entering/leaving animations:
You can see it's not gone all the way down to the bottom of the screen, it's stuck part of the way up.
Without entering/leaving animations:
This is how it should look once the animation is complete.
Has anyone else come across a similar issue whilst using an animated view with or without using "position: absolute" ? It seems to get stuck there until you cause a re-render then it sometimes fixed it self somehow.
Thanks,
Alex M
Beta Was this translation helpful? Give feedback.
All reactions