Fixed broken action button style on iOS

This commit is contained in:
Julien Eluard 2017-10-13 09:21:14 +02:00 committed by Roman Volosovskyi
parent fa9c85b04a
commit 4c7d045c47
1 changed files with 5 additions and 2 deletions

View File

@ -51,8 +51,11 @@
(when disabled? {:opacity 0.6}))}) (when disabled? {:opacity 0.6}))})
(defstyle button-borders (defstyle button-borders
{:android {:border-radius 4} {:android {:border-radius 4}
:ios {:border-radius 8}}) :ios {:border-radius 8
;; Border radius is ignored with transparent background unless overflow "hidden" is used
;; See https://github.com/facebook/react-native/issues/13760
:overflow :hidden}})
(def primary-button (def primary-button
(merge (merge