Skip to content

Commit b7d054e

Browse files
[#17986] fix: android blur overlay issue
1 parent 5876692 commit b7d054e

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

Diff for: src/quo/components/overlay/style.cljs

+4
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@
1111

1212
(def container-style
1313
{:flex 1})
14+
15+
(def blur-style
16+
{:flex 1
17+
:background-color :transparent})

Diff for: src/quo/components/overlay/view.cljs

+7-4
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@
1414
{:style (style/overlay-background background-color)}
1515
(if (= type :shell)
1616
[blur/view
17-
{:blur-amount 20
18-
:blur-type :transparent
19-
:style style/container-style}
20-
child]
17+
{:blur-amount 20
18+
:blur-radius 25
19+
:blur-type :transparent
20+
:overlay-color :transparent
21+
:style style/container-style}
22+
[rn/view {:style style/blur-style}
23+
child]]
2124
[rn/view
2225
{:style style/container-style}
2326
child])]))

0 commit comments

Comments
 (0)