Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix dialog keyboard behavior ios

ammarahm-ed3faebb70f731
diff --git a/apps/mobile/src/components/Dialog/BaseDialog.js b/apps/mobile/src/components/Dialog/BaseDialog.js
index e199ff339..019febbe8 100644
--- a/apps/mobile/src/components/Dialog/BaseDialog.js
+++ b/apps/mobile/src/components/Dialog/BaseDialog.js
@@ -26,7 +26,6 @@ const BaseDialog = ({
const [state, dispatch] = useTracked();
const scaleValue = new Animated.Value(1);
const floating = useIsFloatingKeyboard();
-
return (
<Modal
visible={visible}
@@ -50,6 +49,7 @@ const BaseDialog = ({
}}>
<KeyboardAvoidingView
enabled={!floating && Platform.OS === 'ios'}
+ behavior="padding"
style={[
styles.backdrop,
{