mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
* mobile: upgrade to react-native 0.71 * mobile: update to react-native 0.72.0 * mobile: fix release build on android * mobile: fix editor stuck in loading state * mobile: fix bootsplash logo in dark mode * mobile: update patch files * mobile: cleanup * mobile: increase delay * mobile: add logs on upload * mobile: ensure editor is ready before note loading * mobile: fix ui * mobile: fix * ci: update workflow * ci: undo workflow changes --------- Signed-off-by: Ammar Ahmed <40239442+ammarahm-ed@users.noreply.github.com>
18 lines
1.1 KiB
Diff
18 lines
1.1 KiB
Diff
diff --git a/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js b/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
|
|
index 03f46af..cad9ec7 100644
|
|
--- a/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
|
|
+++ b/node_modules/react-native-keyboard-aware-scroll-view/lib/KeyboardAwareHOC.js
|
|
@@ -423,11 +423,8 @@ function KeyboardAwareHOC(
|
|
if (textInputBottomPosition > keyboardPosition) {
|
|
// Since the system already scrolled the whole view up
|
|
// we should reduce that amount
|
|
- keyboardSpace =
|
|
- keyboardSpace -
|
|
- (textInputBottomPosition - keyboardPosition)
|
|
this.setState({ keyboardSpace })
|
|
- this.scrollForExtraHeightOnAndroid(totalExtraHeight)
|
|
+ this.scrollForExtraHeightOnAndroid(totalExtraHeight + (textInputBottomPosition - keyboardPosition))
|
|
} else if (
|
|
textInputBottomPosition >
|
|
keyboardPosition - totalExtraHeight
|