In https://github.com/facebook/react-native/pull/43464clipChildren started being set to false on scrollviews, which caused isViewClippingChildren to return false. Because of this, gesture handler would traverse the children of the scrollview even when touch was out of bounds:
Description
In https://github.com/facebook/react-native/pull/43464
clipChildren
started being set to false on scrollviews, which causedisViewClippingChildren
to return false. Because of this, gesture handler would traverse the children of the scrollview even when touch was out of bounds:https://github.com/user-attachments/assets/6d108b55-6e06-4202-bc77-9d9dd2825456
This PR adds special cases for scroll views that have
overflow
set tovisible
so that scrolling works on all of its children.Test plan
Test components sample on FabricExample app