We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c8f8b commit 987e56cCopy full SHA for 987e56c
1 file changed
src/components/Modal/ReanimatedModal/index.tsx
@@ -138,10 +138,7 @@ function ReanimatedModal({
138
if (handleRef.current) {
139
InteractionManager.clearInteractionHandle(handleRef.current);
140
}
141
- if (getPlatform() !== CONST.PLATFORM.IOS) {
142
- onModalHide();
143
- }
144
- }, [onModalHide]);
+ }, []);
145
146
const containerView = (
147
<Container
@@ -200,9 +197,7 @@ function ReanimatedModal({
200
197
testID={testID}
201
198
onDismiss={() => {
202
199
onDismiss?.();
203
- if (getPlatform() === CONST.PLATFORM.IOS) {
204
205
+ onModalHide();
206
}}
207
// eslint-disable-next-line react/jsx-props-no-spreading
208
{...props}
0 commit comments