Skip to content

Commit

Permalink
dismiss keyboard when start scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
briansztamfater committed Nov 6, 2023
1 parent 31073b3 commit 42eb3a0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/status_im2/contexts/wallet/send/select_address/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@
[quo/address-input
{:on-focus #(reset! input-focused? true)
:on-blur #(reset! input-focused? false)
:on-scan #(rf/dispatch [:open-modal :scan-address])
:on-scan (fn []
(rn/dismiss-keyboard!)
(rf/dispatch [:open-modal :scan-address]))
:ens-regex constants/regx-ens
:address-regex constants/regx-address
:scanned-value (or send-address scanned-address)
Expand Down

0 comments on commit 42eb3a0

Please sign in to comment.