@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.js
CHANGED
|
@@ -6263,13 +6263,13 @@ function useVirtualKeyboard() {
|
|
|
6263
6263
|
React.useEffect(() => {
|
|
6264
6264
|
/* eslint-disable @typescript-eslint/no-unsafe-member-access, functional/immutable-data */
|
|
6265
6265
|
if ('virtualKeyboard' in navigator) {
|
|
6266
|
-
|
|
6266
|
+
const virtualKeyboard = navigator.virtualKeyboard;
|
|
6267
|
+
const initialOverlaysContent = virtualKeyboard.overlaysContent;
|
|
6268
|
+
virtualKeyboard.overlaysContent = true;
|
|
6269
|
+
return () => {
|
|
6270
|
+
virtualKeyboard.overlaysContent = initialOverlaysContent;
|
|
6271
|
+
};
|
|
6267
6272
|
}
|
|
6268
|
-
return () => {
|
|
6269
|
-
if ('virtualKeyboard' in navigator) {
|
|
6270
|
-
navigator.virtualKeyboard.overlaysContent = false;
|
|
6271
|
-
}
|
|
6272
|
-
};
|
|
6273
6273
|
/* eslint-enable @typescript-eslint/no-unsafe-member-access, functional/immutable-data */
|
|
6274
6274
|
}, []);
|
|
6275
6275
|
}
|