also do scroll insets for keyboard aware sv
This commit is contained in:
@@ -88,11 +88,7 @@ export const Content = memo(
|
|||||||
ref={ref}
|
ref={ref}
|
||||||
id="content"
|
id="content"
|
||||||
automaticallyAdjustsScrollIndicatorInsets={false}
|
automaticallyAdjustsScrollIndicatorInsets={false}
|
||||||
scrollIndicatorInsets={{
|
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
|
||||||
bottom: footerHeight,
|
|
||||||
top: 0,
|
|
||||||
right: 1,
|
|
||||||
}}
|
|
||||||
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
|
indicatorStyle={t.scheme === 'dark' ? 'white' : 'black'}
|
||||||
style={[scrollViewStyles.common, style]}
|
style={[scrollViewStyles.common, style]}
|
||||||
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
||||||
@@ -139,6 +135,8 @@ export const KeyboardAwareContent = memo(function LayoutKeyboardAwareContent({
|
|||||||
return (
|
return (
|
||||||
<KeyboardAwareScrollView
|
<KeyboardAwareScrollView
|
||||||
style={[scrollViewStyles.common, style]}
|
style={[scrollViewStyles.common, style]}
|
||||||
|
automaticallyAdjustsScrollIndicatorInsets={false}
|
||||||
|
scrollIndicatorInsets={{bottom: footerHeight, top: 0, right: 1}}
|
||||||
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
contentInset={ios({top: 0, left: 0, bottom: footerHeight, right: 0})}
|
||||||
contentContainerStyle={[
|
contentContainerStyle={[
|
||||||
!isIOS && {paddingBottom: footerHeight},
|
!isIOS && {paddingBottom: footerHeight},
|
||||||
|
|||||||
Reference in New Issue
Block a user