Skip to content

Commit

Permalink
only dismiss keyboard on openning modal
Browse files Browse the repository at this point in the history
  • Loading branch information
FitseTLT committed Dec 21, 2023
1 parent a87e5ef commit f0e2669
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ class ContactMethodDetailsPage extends Component {
* @param {Boolean} isOpen
*/
toggleDeleteModal(isOpen) {
if (canUseTouchScreen()) {
if (canUseTouchScreen() && isOpen) {
InteractionManager.runAfterInteractions(() => {
this.setState({isDeleteModalOpen: isOpen});
});
Expand Down

0 comments on commit f0e2669

Please sign in to comment.