From c5d74dc75801852bf21c4830c177c6fa593e2ca2 Mon Sep 17 00:00:00 2001 From: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> Date: Mon, 22 May 2023 20:32:00 +0800 Subject: [PATCH] [Fix] Keyboard Close on Forgot Password tap (#15968) Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com> --- src/status_im2/contexts/onboarding/profiles/view.cljs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/status_im2/contexts/onboarding/profiles/view.cljs b/src/status_im2/contexts/onboarding/profiles/view.cljs index e46dc1693b..2893745f58 100644 --- a/src/status_im2/contexts/onboarding/profiles/view.cljs +++ b/src/status_im2/contexts/onboarding/profiles/view.cljs @@ -227,8 +227,10 @@ :style {:margin-left -4} :disabled processing :active-opacity 1 - :on-press #(rf/dispatch [:show-bottom-sheet - {:content forget-password-doc :shell? true}])} + :on-press (fn [] + (rn/dismiss-keyboard!) + (rf/dispatch [:show-bottom-sheet + {:content forget-password-doc :shell? true}]))} [rn/text {:style {:text-decoration-line :underline :color colors/danger-60}