Fixed broken action button style on iOS
This commit is contained in:
parent
fa9c85b04a
commit
4c7d045c47
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue