fix GestureDetector has received a child that may get view-flattened

This commit is contained in:
Oleksii Bulenok
2026-06-17 17:43:52 +02:00
parent 8815f133f1
commit 44d9ebe24c
+4 -1
View File
@@ -199,7 +199,10 @@ export function InterestTabs({
}, [])
return (
<View style={[a.relative, a.flex_row]}>
// `collapsable={false}` keeps this as a real host view on the new arch so
// that a wrapping GestureDetector (e.g. BlockDrawerGesture) can attach to
// it - otherwise this layout-only view gets flattened away.
<View collapsable={false} style={[a.relative, a.flex_row]}>
<DraggableScrollView
ref={listRef}
contentContainerStyle={[