Hi guys,
I'm trying to debug the library because of a weird paddingTop that my app is showing when using the KeyboardAwareListView.
While I was able to discover that the contentInset has its default value with top=20 while on the react native documentation a regular ListView has its contentInset top=0.
Does someone can explain why ?
Thanks!
How did you fix this?
I set the contentInset prop to the following values={{top:0, bottom: 0, left:0, right:0}}. The library is still setting its default to 20 though.
Cheers man.
This needs to be part of the readme or should be fixed.
Hi @all!
The library is not setting any insets, it's RN that takes account of the height of the iOS status bar. If you feel this should be in the docs, please feel free to send a PR. There's nothing to fix though.
Another friendly reminder, I'm currently seeking for active contributors to the lib, please ping me if someone is interested.
@alvaromb I'd like to maintain the library.
Setting automaticallyAdjustContentInsets={false} should fix this.
Most helpful comment
I set the
contentInsetprop to the following values={{top:0, bottom: 0, left:0, right:0}}. The library is still setting its default to 20 though.