You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the FormScrollView component, when passing custom styles to the prop contentContainerStyle as an array, the property paddingBottom is override to 0 on Android.
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 Native
The text was updated successfully, but these errors were encountered:
Description
On the
FormScrollView
component, when passing custom styles to the propcontentContainerStyle
as an array, the propertypaddingBottom
is override to 0 on Android.Exemple
Result: The
paddingBottom
is applied on iOS but not on Android.Possible cause
The
paddingBottom
property is override at this line in the code:react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
Line 531 in 9eee405
It checks if a
paddingBottom
property is present on thecontentContainerStyle
object before setting it zero, but it does not handle the case wherecontentContainerStyle
is an array (which can be the case according to the type ofStyleProp<ViewStyle>
of React NativeThe text was updated successfully, but these errors were encountered: