diff --git a/src/status_im/ui/screens/wallet/choose_recipient/styles.cljs b/src/status_im/ui/screens/wallet/choose_recipient/styles.cljs index ad3d873a68..0561bc01a5 100644 --- a/src/status_im/ui/screens/wallet/choose_recipient/styles.cljs +++ b/src/status_im/ui/screens/wallet/choose_recipient/styles.cljs @@ -62,7 +62,7 @@ :border-color "rgba(255, 255, 255, 0.3)"}) (def qr-container - {:flex 1}) + {:flex 1}) (def preview {:flex 1 diff --git a/src/status_im/ui/screens/wallet/choose_recipient/views.cljs b/src/status_im/ui/screens/wallet/choose_recipient/views.cljs index 77927e0282..1b406d5956 100644 --- a/src/status_im/ui/screens/wallet/choose_recipient/views.cljs +++ b/src/status_im/ui/screens/wallet/choose_recipient/views.cljs @@ -81,11 +81,12 @@ [react/view {:style styles/wallet-container} [status-bar/status-bar {:type :wallet}] [toolbar-view camera-flashlight] - [react/view {:style styles/qr-container - :on-layout #(let [layout (.. % -nativeEvent -layout)] - (re-frame/dispatch [:set-in [:wallet/send-transaction :camera-dimensions] - {:width (.-width layout) - :height (.-height layout)}]))} + [react/view {:style styles/qr-container + :pointerEvents :none + :on-layout #(let [layout (.. % -nativeEvent -layout)] + (re-frame/dispatch [:set-in [:wallet/send-transaction :camera-dimensions] + {:width (.-width layout) + :height (.-height layout)}]))} (when (or platform/android? camera-permitted?) [camera/camera {:style styles/preview