fix GestureDetector has received a child that may get view-flattened
This commit is contained in:
@@ -199,7 +199,10 @@ export function InterestTabs({
|
|||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
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
|
<DraggableScrollView
|
||||||
ref={listRef}
|
ref={listRef}
|
||||||
contentContainerStyle={[
|
contentContainerStyle={[
|
||||||
|
|||||||
Reference in New Issue
Block a user