Open hsavit1 opened 4 years ago
I'm having the same problem... Are you using the accessory view with 'androidAdjustResize' option? I had to use it without this option to work.
I've the same issue on IOS and Android...
Same issue
Any updates on this issue? Having same problem
Having this issue as well.
Same problem here, this seems to be broken :( I have a very very basic setup and no matter what I do, the <View/>
seems to sit at double the height where it should!
Did any one got the solution for extra white space? Its appearing on selected sizes of device.
Just set androidAdjustResize = true
. I'm using a KeyboardAccessoryNavigation
component. Don't forget to set flex: 1
to parent element.
My working example on iOS & Android:
<ScrollView
style={[styles.container, { paddingTop: headerHeight }]}
contentContainerStyle={[styles.containerContent]}>
....
....
<KeyboardAccessoryNavigation
nextHidden
previousHidden
hideBorder
androidAdjustResize
{null}
</KeyboardAccessoryNavigation>
</ScrollView>
const styles = StyleSheet.create({
container: {
flex: 1,
},
containerContent: {
flex: 1,
},
});
@kosbog thanks! Your solution works good.
Using galaxy note 8 / Android 9 in the example expo repo