Skip to content

Commit 3468c02

Browse files
committed
fix: click outside issue
1 parent 094fd9f commit 3468c02

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/react-native/src/components/survey-web-view.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ export function SurveyWebView(
147147
appUrl: appConfig.get().appUrl,
148148
clickOutside:
149149
surveyPlacement === "center" ? clickOutside : true,
150+
ignorePlacementForClickOutside: true,
150151
darkOverlay,
151152
getSetIsResponseSendingFinished: (
152153
_f: (value: boolean) => void

packages/react-native/src/types/survey.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ export interface SurveyBaseProps {
4545
isCardBorderVisible?: boolean;
4646
startAtQuestionId?: string;
4747
clickOutside?: boolean;
48+
ignorePlacementForClickOutside?: boolean;
4849
darkOverlay?: boolean;
4950
hiddenFieldsRecord?: TResponseData;
5051
shouldResetQuestionId?: boolean;

0 commit comments

Comments
 (0)