Prevent pointer events from propagating

Fix map alignment
This commit is contained in:
angusiguess 2017-10-10 11:49:07 -03:00 committed by Roman Volosovskyi
parent 98beef138f
commit 833072087f
2 changed files with 7 additions and 6 deletions

View File

@ -82,6 +82,7 @@
[status-bar/status-bar {:type :wallet}]
[toolbar-view camera-flashlight]
[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)