mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-16 19:57:52 +01:00
35 lines
1.7 KiB
Diff
35 lines
1.7 KiB
Diff
diff --git a/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js b/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js
|
|
index 77c81f0..be34558 100644
|
|
--- a/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js
|
|
+++ b/node_modules/react-native/Libraries/Components/Keyboard/KeyboardAvoidingView.js
|
|
@@ -156,7 +156,8 @@ class KeyboardAvoidingView extends React.Component<Props, State> {
|
|
|
|
if (
|
|
Platform.OS === 'ios' &&
|
|
- this._windowWidth !== this._keyboardEvent.endCoordinates.width
|
|
+ this._windowWidth !== this._keyboardEvent.endCoordinates.width &&
|
|
+ this._windowWidth > this._keyboardEvent.endCoordinates.width
|
|
) {
|
|
// The keyboard is not the standard bottom-of-the-screen keyboard. For example, floating keyboard on iPadOS.
|
|
this._setBottom(0);
|
|
diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env
|
|
new file mode 100644
|
|
index 0000000..361f5fb
|
|
--- /dev/null
|
|
+++ b/node_modules/react-native/scripts/.packager.env
|
|
@@ -0,0 +1 @@
|
|
+export RCT_METRO_PORT=8081
|
|
diff --git a/node_modules/react-native/scripts/packager.sh b/node_modules/react-native/scripts/packager.sh
|
|
index 00d6ebc..6846832 100755
|
|
--- a/node_modules/react-native/scripts/packager.sh
|
|
+++ b/node_modules/react-native/scripts/packager.sh
|
|
@@ -8,7 +8,7 @@
|
|
THIS_DIR=$(cd -P "$(dirname "$(readlink "${BASH_SOURCE[0]}" || echo "${BASH_SOURCE[0]}")")" && pwd)
|
|
REACT_NATIVE_ROOT="$THIS_DIR/.."
|
|
# Application root directory - General use case: react-native is a dependency
|
|
-PROJECT_ROOT=${PROJECT_ROOT:-"$THIS_DIR/../../.."}
|
|
+PROJECT_ROOT=${PROJECT_ROOT:-"$THIS_DIR/../../../native"}
|
|
|
|
# check and assign NODE_BINARY env
|
|
# shellcheck disable=SC1090
|