@widergy/mobile-ui 2.1.2 → 2.1.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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.1.3](https://github.com/widergy/mobile-ui/compare/v2.1.2...v2.1.3) (2025-11-07)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [CX-1400] keyboard adjustable height bottom sheet ([#463](https://github.com/widergy/mobile-ui/issues/463)) ([0d4dbfb](https://github.com/widergy/mobile-ui/commit/0d4dbfbefa8d31570a4c56e7fd8faa876d90d548))
7
+
1
8
  ## [2.1.2](https://github.com/widergy/mobile-ui/compare/v2.1.1...v2.1.2) (2025-10-30)
2
9
 
3
10
 
@@ -55,13 +55,18 @@ const UTBottomSheet = ({
55
55
 
56
56
  const theme = useTheme();
57
57
 
58
- const handleKeyboardDidShow = useCallback(e => {
59
- if (IS_IOS) {
60
- setModalHeight(screenHeight);
61
- } else {
62
- setModalHeight(screenHeight - e.endCoordinates.height);
63
- }
64
- }, []);
58
+ const handleKeyboardDidShow = useCallback(
59
+ e => {
60
+ if (!adjustableHeight) {
61
+ if (IS_IOS) {
62
+ setModalHeight(screenHeight);
63
+ } else {
64
+ setModalHeight(screenHeight - e.endCoordinates.height);
65
+ }
66
+ }
67
+ },
68
+ [adjustableHeight]
69
+ );
65
70
 
66
71
  const handleKeyboardDidHide = useCallback(() => {
67
72
  setModalHeight(height);
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "2.1.2",
5
+ "version": "2.1.3",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [