You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use react-collapsed on an element that has a changing height. Its children are dynamically mounted and only display their content when some data is fetched.
As react-collapsed sets a height in px on the element it is expanding, some of the content that is loading inside that element is being cut off.
From the docs it isn't immediately apparent to me how I make sure that the height of the element is autoafter expanding it. Is there any way to do this?
Thanks in advance!
– Nick
The text was updated successfully, but these errors were encountered:
Hi @nickrttn, can you share a codesandbox or a way to reproduce this? The collapse element should always have its height property stripped after the transition ends (effectively height: auto). If the height of the contents change mid-transition, that's a different issue.
Hi there.
I'm trying to use
react-collapsed
on an element that has a changing height. Its children are dynamically mounted and only display their content when some data is fetched.As
react-collapsed
sets a height inpx
on the element it is expanding, some of the content that is loading inside that element is being cut off.From the docs it isn't immediately apparent to me how I make sure that the height of the element is
auto
after expanding it. Is there any way to do this?Thanks in advance!
– Nick
The text was updated successfully, but these errors were encountered: