SIGN IN SIGN UP
facebook / react UNCLAIMED

The library for web and native user interfaces.

0 0 0 JavaScript

Add getClientRects to fabric fragment instance (#34545)

Stacked on #34544 

We only have getBoundingClientRect available from RN currently. This
should work as a substitute for this case because the equivalent of
multi-rect elements in RN is a nested Text component. We only include
the rects of top-level host components here so we can assume that
calling getBoundingClientRect on each child is the same result.

Tested in react-native with Fantom.
J
Jack Pope committed
74dee8ef641c7a0a67db192f83c11ac0d9f279ff
Parent: e866b1d
Committed by GitHub <noreply@github.com> on 10/3/2025, 1:54:33 PM