In my App there are multiple situations where dialogs are shown. When a user should enter a Mail address and the format is wrong a react-native-paper Dialog will be opened inside a Portal.
<Portal>
<KeyboardAvoidingView behavior={'padding'} style={{flex: 1}}>
<SafeAreaView style={{flex: 1}}>
<Dialog>
[...]
When the Dialog appeared and afterwards the keyboard opens, everything moves up and it works fine! When the keyboard already is open and the Dialog appears, the dialog opens up behind the keyboard. Any Ideas how to fix?
I uploaded a video to show the behavior: https://streamable.com/zwin42
Already tried position and height as behavior as well, but it didnt work as well.
This only happens on ios! Android works fine!