GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||
GeezerVison is showing github.com — fix(mobile): the Legal page starts below the header on iOS by camchis · Pull Request #27241 · pingdotgg/t3code Conversation
Contributor
On iOS, Settings → About → Legal opens the page with its top under the header. The title and the "T3 TOOLS, INC. / LEGAL" label are cut off, and pulling down only shows the real top during the bounce before it snaps back under the header. The Legal WebView left react-native-webview's Checked on an iPhone 17 Pro simulator (iOS 26.5): open Legal from About, pull down at the top, scroll to the footer and back. The clips below start on the Legal page. Before, the page opens cut off under the header and the header title is washed out. After, it opens below the header and settles there. While scrolling, content still passes under the header, which is expected. Not checked on Android, where the prop doesn't apply, on iPad, or on a physical device.
Side by side, full length: before-after.mp4
Created with Claude Sonnet 5.5 in Claude Code.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsThe Legal WebView defaulted to contentInsetAdjustmentBehavior "never", so the page opened with its top under the header. Use "automatic", as the HTML and file preview WebViews already do.
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
|
There was an error while loading. Please reload this page.
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
| Layer / File(s) | Summary |
|---|---|
Legal WebView inset adjustment apps/mobile/src/features/settings/components/SettingsLegalDocumentRouteScreen.tsx |
The WebView sets contentInsetAdjustmentBehavior to automatic. |
Estimated code review effort: 1 (Trivial) | ~5 minutes
Change: Bug fix
Suggested reviewers: juliusmarminge
c29cdThis makes the Legal page start below the header on iOS by adjusting the WebView's content insets. The change is small, easy to revert, and affects only this screen, so the risk of merging is minimal.
Explanation
The title names the change: the Legal page no longer starts under the header on iOS. It is specific, uses conventional commit form, and matches the one-line WebView fix (contentInsetAdjustmentBehavior set to automatic) in the raw summary and objectives.
Explanation
The description follows the template well. It states the problem and the expected behavior on iOS, gives the change and its rationale (contentInsetAdjustmentBehavior from never to automatic, matching #25765), and limits scope to one component. It includes a Verification section with the simulator steps, before/after clips, and what was not checked. It also explains the failing repo-wide test step and why it is unrelated. The Scope section does not link an issue, and it does not explain why no issue is needed for this small fix. That gap is minor, so the check passes.
752a9f32-0d04-4e27-98f5-0be4d8d7baf4apps/mobile/src/features/settings/components/SettingsLegalDocumentRouteScreen.tsxIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Note Written by kept verification at fresh native reproduction and before/after captures remain unverified: device access is disabled in this linux environment, and chrome cannot exercise ios native webview insets. the default dev server started successfully and was stopped. the clips below are the original contributor's evidence, inspected and reuploaded here; they are not new captures of this head. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
@maria-rcks lgtm, your commit just removed a comment so no new verification is needed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
EvidenceVerified in the real iOS dev client on iPhone 18 Pro, 402×874, light system appearance, with fresh isolated state on both commits. Steps: Settings → scroll → About → Legal; wait for loading; pull down and release; scroll to the footer and return to the top.
The base reproduces the reported clipping and bounce snap-back. The head keeps the company label and full title visible below the header. The final scenario comparison exited 0. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
The automated pipeline stopped on this pull request and will not merge it: in the real app the problem is still there, and the rework changed nothing: Nothing changed: the report that the problem still happens on d977e21 is wrong. I re-ran the same scenario driver posted with the c29cdb4 evidence (Settings → About → Legal, pull down and release, scroll to the footer and back) on d977e21. It ran through the repository's e2e runner on a pooled iPhone 18 Pro, light appearance, 402×874, and passed. The label was visible with y > 100. The 'open' and 'returned to top' captures both show 'T3 TOOLS, INC. / LEGAL' and the full 'Legal' title below the header, matching the passing c29cdb4 proof. Head open: https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/1a7ac7ccfb00a105/001-legal-open.png . Head back at top: https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/b6f105b7a7810e90/004-legal-returned-top.png . Between c29cdb4 (proven fixed) and d977e21 the only mobile changes from main are iPad split-view column widths and thread feed code, none on this route. The failing head result came from a standalone rerun after infrastructure failures, which most likely did not run this head's bundle. The fix is still the one line contentInsetAdjustmentBehavior="automatic" on the Legal WebView. It stays open for a person to finish or close. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.