The current viewport rect of an element, or undefined when the element has no layout at all —
the case when it, or an ancestor, is display: none, as inside an inactive rc-dock tab pane.
Matches measureRange's rule: an element that IS laid out still returns its box even at
zero width or height (a real, positioned point, such as a collapsed caret's element), because
getClientRects() is empty only when nothing was painted, never merely because a box is small.
This export is unstable and may change shape or disappear without notice
The current viewport rect of an element, or
undefinedwhen the element has no layout at all — the case when it, or an ancestor, isdisplay: none, as inside an inactive rc-dock tab pane. Matches measureRange's rule: an element that IS laid out still returns its box even at zero width or height (a real, positioned point, such as a collapsed caret's element), becausegetClientRects()is empty only when nothing was painted, never merely because a box is small.This export is unstable and may change shape or disappear without notice