Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions packages/react-native/src/components/formbricks.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type React from "react";
import { useCallback, useEffect, useSyncExternalStore } from "react";
import { View } from "react-native";
import { StyleSheet, View } from "react-native";
import { SurveyWebView } from "@/components/survey-web-view";
import { Logger } from "@/lib/common/logger";
import { setup } from "@/lib/common/setup";
Expand Down Expand Up @@ -55,7 +55,9 @@ export function Formbricks({

// Wrap in View with pointerEvents="box-none" to fix Android touch event handling.
return survey ? (
<View pointerEvents="box-none">
// Fills the parent: a no-overlay survey renders in the host's view tree (not a Modal) and
// positions itself against this wrapper, which would otherwise be 0x0.
<View pointerEvents="box-none" style={StyleSheet.absoluteFill}>
<SurveyWebView survey={survey} />
</View>
) : null;
Expand Down
Loading
Loading