@transferwise/components 0.0.0-experimental-b5b2cab → 0.0.0-experimental-222fc9c
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/build/index.js +6 -6
- package/build/index.js.map +1 -1
- package/build/index.mjs +6 -6
- package/build/index.mjs.map +1 -1
- package/build/main.css +1 -0
- package/build/styles/inputs/SelectInput.css +1 -0
- package/build/styles/main.css +1 -0
- package/package.json +1 -1
- package/src/common/hooks/useVirtualKeyboard.ts +6 -6
- package/src/inputs/SelectInput.css +1 -0
- package/src/inputs/_BottomSheet.less +1 -0
- package/src/main.css +1 -0
package/build/index.mjs
CHANGED
|
@@ -6234,13 +6234,13 @@ function useVirtualKeyboard() {
|
|
|
6234
6234
|
useEffect(() => {
|
|
6235
6235
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access, functional/immutable-data */
|
|
6236
6236
|
if ('virtualKeyboard' in navigator) {
|
|
6237
|
-
|
|
6237
|
+
const virtualKeyboard = navigator.virtualKeyboard;
|
|
6238
|
+
const initialOverlaysContent = virtualKeyboard.overlaysContent;
|
|
6239
|
+
virtualKeyboard.overlaysContent = true;
|
|
6240
|
+
return () => {
|
|
6241
|
+
virtualKeyboard.overlaysContent = initialOverlaysContent;
|
|
6242
|
+
};
|
|
6238
6243
|
}
|
|
6239
|
-
return () => {
|
|
6240
|
-
if ('virtualKeyboard' in navigator) {
|
|
6241
|
-
navigator.virtualKeyboard.overlaysContent = false;
|
|
6242
|
-
}
|
|
6243
|
-
};
|
|
6244
6244
|
/* eslint-enable @typescript-eslint/no-unsafe-member-access, functional/immutable-data */
|
|
6245
6245
|
}, []);
|
|
6246
6246
|
}
|