Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/components/PushRowWithModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React, {useRef, useState} from 'react';
import type {StyleProp, ViewStyle} from 'react-native';
import MenuItemWithTopDescription from '@components/MenuItemWithTopDescription';
import CONST from '@src/CONST';
import KeyboardUtils from '@src/utils/keyboard';
import PushRowModal from './PushRowModal';

type PushRowWithModalProps = {
Expand Down Expand Up @@ -58,7 +59,9 @@ function PushRowWithModal({
if (shouldBlurOnCloseRef.current) {
onBlur?.();
}
setIsModalVisible(false);
KeyboardUtils.dismiss().then(() => {
setIsModalVisible(false);
});
};

const handleModalOpen = () => {
Expand Down