Skip to content

Commit 2e531f7

Browse files
committed
fix: bug on iOS with KeyboardChatScrollView + inverted + maintainVisibleScrollPosition + FlashList
1 parent 1ae8efd commit 2e531f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/ScrollViewWithBottomPadding

src/components/ScrollViewWithBottomPadding/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ const ScrollViewWithBottomPadding = forwardRef<
125125
style={styles.container}
126126
>
127127
<ScrollViewComponent ref={ref} animatedProps={animatedProps} {...rest}>
128-
{inverted ? (
128+
{inverted && OS === "android" ? (
129129
// The only thing it can break is `StickyHeader`, but it's already broken in FlatList and other lists
130130
// don't support this functionality, so we can add additional view here
131131
// The correct fix would be to add a new prop in ScrollView that allows

0 commit comments

Comments
 (0)