Open
Description
Description
On the FormScrollView
component, when passing custom styles to the prop contentContainerStyle
as an array, the property paddingBottom
is override to 0 on Android.
Exemple
<KeyboardAwareScrollView
enableOnAndroid
contentContainerStyle={[
{ flexGrow: 1 },
{ paddingBottom: 75 },
]}
/>
Result: The paddingBottom
is applied on iOS but not on Android.
Possible cause
The paddingBottom
property is override at this line in the code:
It checks if a
paddingBottom
property is present on the contentContainerStyle
object before setting it zero, but it does not handle the case where contentContainerStyle
is an array (which can be the case according to the type of StyleProp<ViewStyle>
of React NativeMetadata
Metadata
Assignees
Labels
No labels