From 8d045f0c96a44ef9e787213218a290c45e3992f5 Mon Sep 17 00:00:00 2001 From: Laurent Cozic Date: Mon, 23 Mar 2020 09:35:54 +0000 Subject: [PATCH] Revert "Mobile: Resolves #2286: Always show scrollbar in editor mode (#2594)" This reverts commit 91d864bdedfb6b2ab1ce3c775e3e4999d4bab8c5. To try to fix this: https://github.com/laurent22/joplin/issues/2856 --- ReactNativeClient/lib/components/screens/note.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/ReactNativeClient/lib/components/screens/note.js b/ReactNativeClient/lib/components/screens/note.js index 09c4c2f17..53e5cd360 100644 --- a/ReactNativeClient/lib/components/screens/note.js +++ b/ReactNativeClient/lib/components/screens/note.js @@ -1,5 +1,5 @@ const React = require('react'); -const { Platform, Clipboard, Keyboard, View, TextInput, StyleSheet, Linking, Image, Share, ScrollView } = require('react-native'); +const { Platform, Clipboard, Keyboard, View, TextInput, StyleSheet, Linking, Image, Share } = require('react-native'); const { connect } = require('react-redux'); const { uuid } = require('lib/uuid.js'); const RNFS = require('react-native-fs'); @@ -865,11 +865,7 @@ class NoteScreenComponent extends BaseScreenComponent { // Note: blurOnSubmit is necessary to get multiline to work. // See https://github.com/facebook/react-native/issues/12717#issuecomment-327001997 - bodyComponent = ( - - this.body_changeText(text)} blurOnSubmit={false} selectionColor={theme.textSelectionColor} placeholder={_('Add body')} placeholderTextColor={theme.colorFaded} /> - - ); + bodyComponent = this.body_changeText(text)} blurOnSubmit={false} selectionColor={theme.textSelectionColor} placeholder={_('Add body')} placeholderTextColor={theme.colorFaded} />; } const renderActionButton = () => {