fix: resolve iOS header overlap in SimpleWebview#29020
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit c27d504. Configure here.
Just need 5 lines changes
can you try this? *removal SafeView might need to check with @Cal-L |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #29020 +/- ##
==========================================
- Coverage 82.26% 82.20% -0.07%
==========================================
Files 5055 5055
Lines 133121 133242 +121
Branches 29795 29831 +36
==========================================
+ Hits 109518 109527 +9
- Misses 16173 16282 +109
- Partials 7430 7433 +3 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Affected features via SimpleWebview usage:
The changes are well-covered by updated unit tests and snapshots. The risk is medium since these are visual/layout changes to a shared component, not core logic changes. No performance impact expected. Performance Test Selection: |
|
|
✅ E2E Fixture Validation — Schema is up to date |





Description
Changelog
CHANGELOG entry: Fixed an iOS-only bug where the header and web content overlapped in the in-app web view screen
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/TO-697
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
UI/navigation presentation change scoped to the in-app webview plus test updates; minimal impact outside
SimpleWebview, with the main risk being unintended header visibility/styling regressions in that flow.Overview
Fixes
SimpleWebviewlayout so the header no longer overlaps the web content by renderingHeaderCompactStandardinside the screen (instead of configuring a navigation header) and constraining safe-area padding to the bottom while applying the themed background.Updates the webview stack navigators (
App.tsxandMainNavigator.js) to hide the default stack header (and setcardStylebackground), and refreshes theSimpleWebviewunit tests/snapshot to mock the new header component and assertgoBack/share behavior viaHeaderCompactStandardprops.Reviewed by Cursor Bugbot for commit c27d504. Configure here.