@widergy/mobile-ui 1.33.3 → 1.33.4
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
|
+
## [1.33.4](https://github.com/widergy/mobile-ui/compare/v1.33.3...v1.33.4) (2025-01-20)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* [UGC-1141] ios bottomsheet height ([#407](https://github.com/widergy/mobile-ui/issues/407)) ([f0f78a3](https://github.com/widergy/mobile-ui/commit/f0f78a3425b64ca75d32c061d1653a03e881926b))
|
|
7
|
+
|
|
1
8
|
## [1.33.3](https://github.com/widergy/mobile-ui/compare/v1.33.2...v1.33.3) (2025-01-16)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -7,6 +7,7 @@ import { useTheme } from '../../theming';
|
|
|
7
7
|
import UTButton from '../UTButton';
|
|
8
8
|
import UTFieldLabel from '../UTFieldLabel';
|
|
9
9
|
import UTLabel from '../UTLabel';
|
|
10
|
+
import { IS_IOS } from '../../utils/platformUtils/constants';
|
|
10
11
|
|
|
11
12
|
import styles from './styles';
|
|
12
13
|
import { ACTION_ALIGNMENTS } from './constants';
|
|
@@ -43,7 +44,11 @@ const UTBottomSheet = ({
|
|
|
43
44
|
const theme = useTheme();
|
|
44
45
|
|
|
45
46
|
const handleKeyboardDidShow = useCallback(e => {
|
|
46
|
-
|
|
47
|
+
if (IS_IOS) {
|
|
48
|
+
setModalHeight(screenHeight);
|
|
49
|
+
} else {
|
|
50
|
+
setModalHeight(screenHeight - e.endCoordinates.height);
|
|
51
|
+
}
|
|
47
52
|
}, []);
|
|
48
53
|
|
|
49
54
|
const handleKeyboardDidHide = useCallback(() => {
|
package/package.json
CHANGED