@jobber/components-native 0.95.2-JOB-141866-25e664c.2 → 0.95.2-JOB-141866-cab4e3f.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.95.2-JOB-141866-
|
|
3
|
+
"version": "0.95.2-JOB-141866-cab4e3f.3+cab4e3feb",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -96,5 +96,5 @@
|
|
|
96
96
|
"react-native-safe-area-context": "^5.4.0",
|
|
97
97
|
"react-native-svg": ">=12.0.0"
|
|
98
98
|
},
|
|
99
|
-
"gitHead": "
|
|
99
|
+
"gitHead": "cab4e3febe1c59269f69b54e3b442122ac0a3cde"
|
|
100
100
|
}
|
package/dist/src/Form/Form.js
CHANGED
|
@@ -92,9 +92,9 @@ function InternalForm({ children, onBeforeSubmit, onSubmit, onSubmitError, onSub
|
|
|
92
92
|
const handleOfflineSubmit = useOfflineHandler();
|
|
93
93
|
const keyboardProps = Platform.select({
|
|
94
94
|
ios: {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
onKeyboardDidHide: handleKeyboardHide,
|
|
96
|
+
onKeyboardDidShow: handleKeyboardShow,
|
|
97
|
+
onKeyboardDidChangeFrame: handleKeyboardDidChangeFrame,
|
|
98
98
|
},
|
|
99
99
|
android: {
|
|
100
100
|
onKeyboardDidHide: handleKeyboardHide,
|
|
@@ -126,7 +126,7 @@ function InternalForm({ children, onBeforeSubmit, onSubmit, onSubmitError, onSub
|
|
|
126
126
|
React.createElement(View, { style: styles.safeArea, ref: bottomViewRef })))),
|
|
127
127
|
React.createElement(FormMessage, null)));
|
|
128
128
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
129
|
-
function
|
|
129
|
+
function handleKeyboardDidChangeFrame(frames) {
|
|
130
130
|
if (frames &&
|
|
131
131
|
"endCoordinates" in frames &&
|
|
132
132
|
"height" in frames.endCoordinates &&
|