From 52e43fbbf1b4c3f1b8b7ffe2d10dde8ff402f3ef Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Wed, 7 May 2025 13:05:41 +0300 Subject: [PATCH] disable sticky header on Android --- src/components/Dialog/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx index de8287a53c..ee2c0f76c7 100644 --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -267,7 +267,10 @@ export const ScrollableInner = React.forwardRef( scrollEventThrottle={50} onScroll={isAndroid ? onScroll : undefined} keyboardShouldPersistTaps="handled" - stickyHeaderIndices={header ? [0] : undefined}> + // TODO: figure out why this positions the header absolutely (rather than stickily) + // on Android. fine to disable for now, because we don't have any + // dialogs that use this that actually scroll -sfn + stickyHeaderIndices={ios(header ? [0] : undefined)}> {header} {children}