sapo-components-ui-rn 1.1.12 → 1.1.13

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/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Platform, Dimensions, StyleSheet, useColorScheme, TouchableOpacity, View as View$1, Text as Text$2, Animated as Animated$1, Pressable, I18nManager, useWindowDimensions, TextInput as TextInput$1, Modal, ActivityIndicator, ImageBackground, Image as Image$2 } from 'react-native';
1
+ import { Platform, Dimensions, StyleSheet, useColorScheme, TouchableOpacity, View as View$1, Text as Text$2, Animated as Animated$1, Pressable, I18nManager, useWindowDimensions, TextInput as TextInput$1, Modal, Keyboard, ActivityIndicator, ImageBackground, Image as Image$2 } from 'react-native';
2
2
  import * as React$3 from 'react';
3
3
  import React__default, { memo, useCallback, forwardRef as forwardRef$1, useMemo, useState, useEffect, useRef, useImperativeHandle } from 'react';
4
4
  import require$$1 from 'deepmerge';
@@ -5846,6 +5846,7 @@ var TextInputNumber = function (_a) {
5846
5846
  var onShowModalKeyboard = function () {
5847
5847
  setIsShowModalKeyboard(true);
5848
5848
  setIsFirstInput(true);
5849
+ Keyboard.dismiss();
5849
5850
  };
5850
5851
  var onCloseModalKeyboard = function () {
5851
5852
  setIsShowModalKeyboard(false);