Skip to content

Commit 989f659

Browse files
committed
chore: added property param to LayoutAnimation.create
1 parent 99cce41 commit 989f659

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/uikit-react-native/src/domain/groupChannel/component/GroupChannelInput/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const KEYBOARD_AVOID_VIEW_BEHAVIOR = Platform.select({ ios: 'padding' as const,
2424

2525
// FIXME(iOS): Dynamic style does not work properly when typing the CJK. (https://github.com/facebook/react-native/issues/26107)
2626
// To workaround temporarily, change the key for re-mount the component.
27+
// -> This will affect to keyboard blur when add/remove first mentioned user.
2728
const GET_INPUT_KEY = (shouldReset: boolean) => (shouldReset ? 'uikit-input-clear' : 'uikit-input');
2829

2930
// TODO: Refactor 'Edit' mode to clearly

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ type KeyboardEvents = {
1010
};
1111

1212
const configureNextLayoutAnimation = (event: KeyboardEvent) => {
13-
const config = LayoutAnimation.create(event.duration, event.easing);
13+
const config = LayoutAnimation.create(event.duration, event.easing, LayoutAnimation.Properties.scaleY);
1414
LayoutAnimation.configureNext(config);
1515
};
1616

0 commit comments

Comments
 (0)