I have a Modal component (react-native library) with a couple of TextInputs on it.
I set this Modal property:
onShow={() => this.setAndroidAdjustNothing()}
Function definition is:
setAndroidAdjustNothing(){
if(AndroidKeyboardAdjust){
alert('adjusted');
AndroidKeyboardAdjust.setAdjustNothing();
}
}
I can see the Alert show up when the Modal pops up, so it's being called.
However when I click on the inputs, the current view is resized to fit all components into the remaining space.
Could it be that it's targeting the Main activity, and not the actual Modal activity? Is there a way to do this?
I have a Modal component (react-native library) with a couple of TextInputs on it.
I set this Modal property:
onShow={() => this.setAndroidAdjustNothing()}
Function definition is:
I can see the Alert show up when the Modal pops up, so it's being called.
However when I click on the inputs, the current view is resized to fit all components into the remaining space.
Could it be that it's targeting the Main activity, and not the actual Modal activity? Is there a way to do this?