688bb17777
Summary:In order to ensure that the docked sticky header in a ListView receives touches correctly, RCTScrollView has a custom hitTest implementation that checks the sticky headers for touches prior to checking any other views. There was a bug in this implementation that meant that sticky views would get touch priority even if the touch was outside the bounds of the scrollView. This meant that sticky headers that scrolled off the top of the list would intercept touches intended for views placed above the scrollView. This diff fixes that bug by checking that the touch is inside the scrollview before checking for sticky header touches. I've also limited the custom hit test logic to just the currently docked header, as the other sticky header views do not require special treatment. Reviewed By: javache Differential Revision: D3041236 fb-gh-sync-id: a2a3474dda03d5b51688bd575195a67956184bbe shipit-source-id: a2a3474dda03d5b51688bd575195a67956184bbe |
||
---|---|---|
.. | ||
Base | ||
Executors | ||
Layout | ||
Modules | ||
Profiler | ||
React.xcodeproj | ||
Views |