Skip to content

Conversation

@pandeymangg
Copy link
Contributor

Fixes the android pointer events bug by wrapping the Formbricks component in a view with pointerEvents="box-none" property.
Fixes #23

@coderabbitai
Copy link

coderabbitai bot commented Jan 21, 2026

Walkthrough

The React Native formbricks component was modified to wrap the SurveyWebView in a View component imported from react-native, with the pointerEvents attribute set to "box-none". This changes how the component is mounted, while the conditional rendering logic remains unchanged. The modification consists of 8 added lines and 1 removed line.

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main fix: addressing an Android pointer events bug.
Description check ✅ Passed The description is directly related to the changeset, explaining the bug fix and referencing the linked issue.
Linked Issues check ✅ Passed The code change addresses the Android display issue by wrapping the component to allow touch events to pass through, which aligns with fixing the survey visibility problem described in issue #23.
Out of Scope Changes check ✅ Passed All changes are scoped to the Android pointer events bug fix; no out-of-scope modifications are present.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@sonarqubecloud
Copy link

@pandeymangg pandeymangg requested a review from Dhruwang January 21, 2026 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

React Native survey not displaying on Android despite successful initialization

2 participants