fix shadow
This commit is contained in:
@@ -85,11 +85,11 @@
|
||||
:z-index 1}))
|
||||
|
||||
(defn blur-container
|
||||
[height]
|
||||
[height focused?]
|
||||
(reanimated/apply-animations-to-style
|
||||
{:height height}
|
||||
{:position :absolute
|
||||
:elevation 10
|
||||
:elevation (if-not @focused? 10 0)
|
||||
:left 0
|
||||
:right 0
|
||||
:bottom 0
|
||||
|
||||
@@ -11,9 +11,9 @@
|
||||
[rn/view {:style (style/bar)}]])
|
||||
|
||||
(defn f-blur-view
|
||||
[layout-height]
|
||||
[reanimated/view {:style (style/blur-container layout-height)}
|
||||
[layout-height focused?]
|
||||
[reanimated/view {:style (style/blur-container layout-height focused?)}
|
||||
[blur/view (style/blur-view)]])
|
||||
(defn blur-view
|
||||
[layout-height]
|
||||
[:f> f-blur-view layout-height])
|
||||
[layout-height focused?]
|
||||
[:f> f-blur-view layout-height focused?])
|
||||
|
||||
@@ -140,5 +140,5 @@
|
||||
state (utils/init-state)]
|
||||
[rn/view
|
||||
[reanimated/view {:style (style/background opacity background-y window-height)}]
|
||||
[sub-view/blur-view blur-height]
|
||||
[sub-view/blur-view blur-height (:focused? state)]
|
||||
[:f> sheet-component extra-params props state]]))
|
||||
|
||||
Reference in New Issue
Block a user