[`Element.getBoundingClientRect()`](https://developer.mozilla.org/en-US/docs/Web/API/Element/getBoundingClientRect) triggers a repaint of the whole dom tree and should be avoided. Related code: https://github.com/lpimem/rangeblock/blob/25e7d3482d3330d5040578746a29e56d21f404f7/src/core/node_measure_impl.ts#L132 https://github.com/lpimem/rangeblock/blob/25e7d3482d3330d5040578746a29e56d21f404f7/src/core/node_measure.ts#L55
Element.getBoundingClientRect()triggers a repaint of the whole dom tree and should be avoided.Related code:
rangeblock/src/core/node_measure_impl.ts
Line 132 in 25e7d34
rangeblock/src/core/node_measure.ts
Line 55 in 25e7d34