Skip to content

Commit 7ba4461

Browse files
committed
chore: remove configuration for next layout animation on keyboard hide to eliminate unnecessary warning
1 parent ff9f2e5 commit 7ba4461

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/uikit-react-native/src/hooks/useKeyboardStatus.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ const useKeyboardStatus = () => {
3939
setKeyboardStatus({ visible: true, height, bottomSpace });
4040
}),
4141

42-
Keyboard.addListener(hideEvent, (event) => {
42+
Keyboard.addListener(hideEvent, () => {
4343
const height = 0;
4444
const bottomSpace = Platform.select({ default: height });
45-
const nextLayoutAnimation = Platform.select({ ios: configureNextLayoutAnimation, default: NOOP });
45+
// const nextLayoutAnimation = Platform.select({ ios: configureNextLayoutAnimation, default: NOOP });
4646

47-
nextLayoutAnimation(event);
47+
// nextLayoutAnimation(event);
4848
setKeyboardStatus({ visible: false, height, bottomSpace });
4949
}),
5050
];

0 commit comments

Comments
 (0)