DEV Community

Discussion on: How to animate an auto-height element

 
oncode profile image
Manuel Sommerhalder • Edited

Exactly, all getBoundingClientRect properties would be 0 when the parent has display: none.