react-native-search-header
react-native-search-header copied to clipboard
topOffset 0 for Android?
Is the topOffset supposed to be 0 fro Android. The default value is working fine on ios but on Android there is a large top offset
The default topOffset is not zero. I set it at 24 as default. You can set the topOffset = { Platform.OS === 'ios' ? 24 : 0 }
Yea thats what I meant. Why do I have to set the topOffset to 0 for Android and not the default 24? Is it because of the Statusbar differences between Android and iOS?
I will update the next release with topOffset set correctly for Android.