Skip to content

Release v6

Choose a tag to compare

@labolado labolado released this 26 May 11:04
· 7 commits to master since this release

fix(scrollview): re-validate cached drag child between touch phases

ScrollViewFactory captured the drag target at the began phase and reused the reference on moved/ended without checking liveness. If React reconciled the sub-tree mid-gesture (e.g. a Slider whose onValueChange triggered setState), the cached overlay instance was destroyed and the forwarded calls hit a dead ref with no contentBounds, silently freezing the drag. Re-lookup with the original began position when stale, and skip the call entirely if no live replacement exists.