I’m a professional software writer specialized in Web technologies and engaged in indie application development. I consider myself to be a man of faith. I pursue honesty, integrity, and compassion.
Right, so you can't use getBoundingClientRect to get the size of the child container when the parent has display: none?. So you have to first remove display:none, then measure, then animate?
Right, so you can't use
getBoundingClientRect
to get the size of the child container when the parent hasdisplay: none
?. So you have to first removedisplay:none
, then measure, then animate?Exactly, all
getBoundingClientRect
properties would be 0 when the parent hasdisplay: none
.