You are setting animateHeight to true but you are also providing a custom height. The custom height has a higher priority than the animateHeight property. So animateHeight is most likely having no effect at all.
See original GitHub issueThis warning is showing when i have a custom minHeight
not height
.
Although animateHeight
is working fine
<SwipeableViews containerStyle={{minHeight: swipeableHeight}} animateHeight
>
...
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
jQuery animate height to auto - Stack Overflow
When a user hovers the ul i want that the height will animated to height auto. And when the user is out of...
Read more >Animation transitions and triggers - Angular
Inside the @Component metadata under the animations: property, when the state evaluates to true , the associated HTML element's height is a wildcard...
Read more >Animating height — the right way - Medium
Let's be honest. Animating height can be a huge pain. For me, it's been a constant battle between wanting to have nice animations,...
Read more >Animation | Jetpack Compose - Android Developers
If you want to add custom animation effects beyond the built-in enter and exit animations, access the underlying Transition instance via the transition...
Read more >Building a Resizable Panel with Framer Motion - YouTube
Learn how to use Framer Motion and react-use-measure to build an auto-resizing panel that animates its height whenever its children change.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
What about using this pattern instead in order to avoid the warning?
Didn’t work for me, everything still sizes up from a height of 0