Revert "place header on top of scrollview"

This reverts commit 3294b709faecd3760794bdcd53d3452068283db1.
This commit is contained in:
Samuel Newman
2025-05-07 10:55:12 +03:00
parent 9e900b6e36
commit 3d6f1d8bb8
+3 -4
View File
@@ -252,8 +252,6 @@ export const ScrollableInner = React.forwardRef<ScrollView, DialogInnerProps>(
} }
return ( return (
<>
{header}
<KeyboardAwareScrollView <KeyboardAwareScrollView
contentContainerStyle={[ contentContainerStyle={[
a.pt_2xl, a.pt_2xl,
@@ -268,10 +266,11 @@ export const ScrollableInner = React.forwardRef<ScrollView, DialogInnerProps>(
bottomOffset={30} bottomOffset={30}
scrollEventThrottle={50} scrollEventThrottle={50}
onScroll={isAndroid ? onScroll : undefined} onScroll={isAndroid ? onScroll : undefined}
keyboardShouldPersistTaps="handled"> keyboardShouldPersistTaps="handled"
stickyHeaderIndices={header ? [0] : undefined}>
{header}
{children} {children}
</KeyboardAwareScrollView> </KeyboardAwareScrollView>
</>
) )
}, },
) )