Skip to main content

One post tagged with "shadow-tree"

View All Tags

Version 1.3.0: teleported views always know where they are 🧭

· 6 min read
Kirill Zyusko
Library author

react-native-teleport 1.3.0 is on its way. This release rewrites how Fabric measures teleported content: instead of keeping a pre-calculated offset in sync with the screen, a teleported Portal now looks up the position of its host directly in the shadow tree.

The result: measure() and Pressable keep working after you scroll, and a whole class of "stale position" bugs is gone for good!