1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

iOS: Fixes #6636: Fix occasional overscroll when opening the keyboard (#6700)

This commit is contained in:
Henry Heino 2022-07-28 09:05:41 -07:00 committed by GitHub
parent 1d5e8e65d9
commit 21d5800923
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,9 +226,12 @@ function NoteEditor(props: Props, ref: any) {
// - `setSupportMultipleWindows` must be `true` for security reasons:
// https://github.com/react-native-webview/react-native-webview/releases/tag/v11.0.0
// - `scrollEnabled` prevents iOS from scrolling the document (has no effect on Android)
// when the editor is focused.
return <WebView
style={props.style}
ref={webviewRef}
scrollEnabled={false}
useWebKit={true}
source={source}
setSupportMultipleWindows={true}