Files
t3code/apps/mobile/src/lib/appBlurTarget.ts
T
c1ec1915fc [codex] Add Android mobile support (#3579)
Co-authored-by: Horus Lugo <[email protected]>
Co-authored-by: Claude Fable 5 <[email protected]>
Co-authored-by: maria-rcks <[email protected]>
Co-authored-by: Shivam Sharma <[email protected]>
Co-authored-by: Ben Davis <[email protected]>
Co-authored-by: Alex <[email protected]>
Co-authored-by: codex <[email protected]>
Co-authored-by: Julius Marminge <[email protected]>
2026-07-12 12:03:35 +02:00

9 lines
432 B
TypeScript

import { createRef } from "react";
import type { View } from "react-native";
// Android BlurViews can't sample their real backdrop like iOS does — they
// need an explicit BlurTargetView to snapshot. App.tsx wraps the app content
// in one and binds this ref so overlays hosted in separate windows (the
// anchored dropdown's Modal) can still blur what's on screen behind them.
export const appBlurTargetRef = createRef<View>();