add pointer events none to all backdrop elements

This commit is contained in:
Samuel Newman
2025-03-04 00:09:50 +00:00
parent a94a99bb40
commit c85d3ad1b0
2 changed files with 12 additions and 2 deletions
@@ -9,5 +9,7 @@ import {atoms as a, useTheme} from '#/alf'
*/
export function GlassyBackdrop() {
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 (
<>
<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
style={[
a.absolute,