question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

This warning is showing when i have a custom minHeight not height.

Although animateHeight is working fine

<SwipeableViews containerStyle={{minHeight: swipeableHeight}} animateHeight
>
...

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
oliviertassinaricommented, Aug 10, 2017

What about using this pattern instead in order to avoid the warning?

0reactions
yohiocommented, Aug 16, 2017

Didn’t work for me, everything still sizes up from a height of 0

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found