From f0022194f3376a48f12937f9d0442bd71238050c Mon Sep 17 00:00:00 2001 From: dukenv0307 Date: Tue, 12 Dec 2023 13:11:19 +0700 Subject: [PATCH] display modal after keyboard is hidden --- .../settings/Profile/Contacts/ContactMethodDetailsPage.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js b/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js index b468607ed8f3..37219db10bfe 100644 --- a/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js +++ b/src/pages/settings/Profile/Contacts/ContactMethodDetailsPage.js @@ -209,7 +209,9 @@ class ContactMethodDetailsPage extends Component { * @param {Boolean} isOpen */ toggleDeleteModal(isOpen) { - this.setState({isDeleteModalOpen: isOpen}); + InteractionManager.runAfterInteractions(() => { + this.setState({isDeleteModalOpen: isOpen}); + }); Keyboard.dismiss(); }