coreui-react icon indicating copy to clipboard operation
coreui-react copied to clipboard

fix(CNavGroup): set default `height` state to 0

Open jasperfirecai2 opened this issue 1 year ago • 0 comments

Closes https://github.com/coreui/coreui-react/issues/410 The root cause of the issue is that height is undefined while the transition state is exiting and thus the style sets height to undefined. Then when the transition starts on opening the dropdown, the height is instantly set to auto meaning there's no startpoint to transition from. This fix is a suggestion. This can also be solved using props or more complex style conditions.

jasperfirecai2 avatar Sep 26 '24 11:09 jasperfirecai2