Skip to content

Commit 987e56c

Browse files
committed
Fix - After adding the emoji, the cursor starts overlapping with the message text
1 parent 36c8f8b commit 987e56c

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

  • src/components/Modal/ReanimatedModal

src/components/Modal/ReanimatedModal/index.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,7 @@ function ReanimatedModal({
138138
if (handleRef.current) {
139139
InteractionManager.clearInteractionHandle(handleRef.current);
140140
}
141-
if (getPlatform() !== CONST.PLATFORM.IOS) {
142-
onModalHide();
143-
}
144-
}, [onModalHide]);
141+
}, []);
145142

146143
const containerView = (
147144
<Container
@@ -200,9 +197,7 @@ function ReanimatedModal({
200197
testID={testID}
201198
onDismiss={() => {
202199
onDismiss?.();
203-
if (getPlatform() === CONST.PLATFORM.IOS) {
204-
onModalHide();
205-
}
200+
onModalHide();
206201
}}
207202
// eslint-disable-next-line react/jsx-props-no-spreading
208203
{...props}

0 commit comments

Comments
 (0)