Fixed android scrool issue

This commit is contained in:
Mustafa Buyukcelebi 2020-01-17 16:44:49 +03:00
parent 73907de9c2
commit 2c8b7df775

View File

@ -213,8 +213,8 @@ const MarkdownEditorView = ({
return (
<KeyboardAvoidingView
style={styles.container}
keyboardVerticalOffset={Platform.select({ ios: 0, android: 25 })}
behavior={Platform.OS === 'ios' ? 'padding' : null}
keyboardVerticalOffset={Platform.select({ ios: 0, android: 30 })}
behavior={Platform.OS === 'ios' ? 'padding' : 'height'}
>
{!isPreviewActive ? (
<ThemeContainer>
@ -234,6 +234,7 @@ const MarkdownEditorView = ({
innerRef={inputRef}
editable={editable}
contextMenuHidden={false}
autoGrow={false}
/>
)}
</ThemeContainer>