From e67dfbfaca6c46e60b8a2b225a6b75c4509fa205 Mon Sep 17 00:00:00 2001 From: Oleksii Bulenok Date: Fri, 3 Jul 2026 12:47:54 +0200 Subject: [PATCH] Add comment --- src/components/GlassView.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/GlassView.tsx b/src/components/GlassView.tsx index a695a0678a..cac5bd268d 100644 --- a/src/components/GlassView.tsx +++ b/src/components/GlassView.tsx @@ -15,6 +15,8 @@ export const IS_GLASS_AVAILABLE = * Liquid Glass View that uses `expo-glass-effect` * * If unavailable, falls back to a regular `View`. Use `fallbackStyle` to customize the fallback appearance. + * Note: Setting opacity to 0 on Expo GlassView or any of its parent views causes the glass effect to not render at all. https://docs.expo.dev/versions/v56.0.0/sdk/glass-effect/#known-issues + * If animating the opacity of a parent view, start from a non-zero opacity to avoid this issue. */ export const GlassView = IS_GLASS_AVAILABLE ? InnerGlassView : FallbackView