I have dynamically changing height in MUI accordion. After collapsing it, holder keeps min-height and thus height can't update properly before scrolling.
I changed the code in a way that holderStyles is not getting styles when isFixed false. In my opinion min-height is not needed there when not fixed. My solution below works for me. What do you think?
I have dynamically changing height in MUI accordion. After collapsing it, holder keeps min-height and thus height can't update properly before scrolling. I changed the code in a way that holderStyles is not getting styles when
isFixed false
. In my opinionmin-height
is not needed there when not fixed. My solution below works for me. What do you think?changed lines file render-props-version
and
file render-props-version