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]>
9 lines
432 B
TypeScript
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>();
|