AnimateHeight component?
See original GitHub issueI was looking to find examples can came across the demos of the <AnimateHeight />
component, but can’t find it anywhere. Are there still plans to release it into moti anytime?
https://twitter.com/FernandoTheRojo/status/1372695982056558597
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (6 by maintainers)
Top Results From Across the Web
react-animate-height - npm
Lightweight React component for animating height using CSS transitions. ... Start using react-animate-height in your project by running `npm ...
Read more >React Animate Height
Lightweight React component for animating height using CSS transitions. Slide up/down the element, and to any specific height. Check the demo below. CSS...
Read more >How to animate element height in React with ... - Stack Overflow
<AnimateHeight duration={ 500 } height={ 'auto' } > <h1>Your content goes here</h1> <p>Put as many React or HTML components here.
Read more >Animating height — the right way - Medium
Documentation can be found here. The most important components in this library is AnimateHeight and AnimateHeightContainer. Let's examine them:
Read more >react-animate-height examples - CodeSandbox
Learn how to use react-animate-height by viewing and forking example apps that make use of react-animate-height on CodeSandbox.
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 FreeTop 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
Top GitHub Comments
Here’s my current code I’m using in the beatgig.com app.
Consider it as-is code 😎
So I played around and made the suggested changes, however I won’t guarantee anything. It’s my first time really working directly with the Reanimated API and using
useAnimatedReaction
so if I’ve made a big screw up let me know!One big change I made was only animating to the max window height if the height would be bigger - I’m sure there is better use cases but for a couple of large lists of items I was working with that made a nice improvement in animation performance. There was no reason to animate things off screen so I figured it would help. It’s really easy to remove if it’s not something you find useful