@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/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/src/Form/Form.tsx
CHANGED
|
@@ -122,9 +122,9 @@ function InternalForm<T extends FieldValues, S>({
|
|
|
122
122
|
|
|
123
123
|
const keyboardProps = Platform.select({
|
|
124
124
|
ios: {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
onKeyboardDidHide: handleKeyboardHide,
|
|
126
|
+
onKeyboardDidShow: handleKeyboardShow,
|
|
127
|
+
onKeyboardDidChangeFrame: handleKeyboardDidChangeFrame,
|
|
128
128
|
},
|
|
129
129
|
android: {
|
|
130
130
|
onKeyboardDidHide: handleKeyboardHide,
|
|
@@ -231,7 +231,7 @@ function InternalForm<T extends FieldValues, S>({
|
|
|
231
231
|
);
|
|
232
232
|
|
|
233
233
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
234
|
-
function
|
|
234
|
+
function handleKeyboardDidChangeFrame(frames: Record<string, any>) {
|
|
235
235
|
if (
|
|
236
236
|
frames &&
|
|
237
237
|
"endCoordinates" in frames &&
|