How to get element bounds without forcing a reflow Getting the element bounds (size and position) seems like a trivial task. Just use getBoundingClientRect() in loop on bunch of elements and you’re done. The truth is, that works pretty well, except the one thing – a performance. You’re likely to force a browser reflow. And…

Read More