Merge pull request #1495 from esteemapp/bugfix/android-editor-scrool

Fixed android scrool issue
This commit is contained in:
Feruz M 2020-01-17 17:16:46 +02:00 committed by GitHub
commit 69c47077e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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