add pointer events none to all backdrop elements
This commit is contained in:
@@ -9,5 +9,7 @@ import {atoms as a, useTheme} from '#/alf'
|
|||||||
*/
|
*/
|
||||||
export function GlassyBackdrop() {
|
export function GlassyBackdrop() {
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
return <View style={[a.absolute, a.inset_0, t.atoms.bg]} />
|
return (
|
||||||
|
<View style={[a.absolute, a.inset_0, t.atoms.bg, a.pointer_events_none]} />
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,7 +17,15 @@ export function GlassyBackdrop() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<View style={[a.absolute, a.inset_0, t.atoms.bg, {opacity: 0.9}]} />
|
<View
|
||||||
|
style={[
|
||||||
|
a.absolute,
|
||||||
|
a.inset_0,
|
||||||
|
t.atoms.bg,
|
||||||
|
a.pointer_events_none,
|
||||||
|
{opacity: 0.9},
|
||||||
|
]}
|
||||||
|
/>
|
||||||
<View
|
<View
|
||||||
style={[
|
style={[
|
||||||
a.absolute,
|
a.absolute,
|
||||||
|
|||||||
Reference in New Issue
Block a user