also do scroll insets for keyboard aware sv

This commit is contained in:
Samuel Newman
2025-06-23 16:00:36 +03:00
parent a49ddd7f97
commit d9f24dd0ae
+3 -5
View File
@@ -88,11 +88,7 @@ export const Content = memo(
ref={ref}
id="content"
automaticallyAdjustsScrollIndicatorInsets={false}
scrollIndicatorInsets={{
bottom: footerHeight,
top: 0,
right: 1,
}}
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
style={[scrollViewStyles.common, style]}
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
@@ -139,6 +135,8 @@ export const KeyboardAwareContent = memo(function LayoutKeyboardAwareContent({
return (
<KeyboardAwareScrollView
style={[scrollViewStyles.common, style]}
automaticallyAdjustsScrollIndicatorInsets={false}
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
contentContainerStyle={[
!isIOS && {paddingBottom: footerHeight},