Skip to content

Fix OCEAN final page not displaying on iPhone (iOS Safari layout bug) - #11

Merged
yetanotherchris merged 1 commit into
mainfrom
claude/fix-ocean-final-page-LdLpf
Mar 18, 2026
Merged

yetanotherchris merged 1 commit into
mainfrom
claude/fix-ocean-final-page-LdLpf

Conversation

@yetanotherchris

Copy link
Copy Markdown
Owner
  • Fix parchment/button/input max-width from calc(100vw - Npx) to 100%
    so widths are relative to parent container, not the viewport. On 393px
    screens (iPhone 16/17) the parchment overflowed the frame by ~8px,
    causing page-level horizontal scroll that broke iOS Safari's layout.
  • Add -webkit-fit-content fallback for cc-frame width on older Safari.
  • Reset body/html overflow and height after survey completes so iOS
    can scroll the results panel (SurveyJS may leave overflow:hidden set).
  • Fix resetSurvey() button call to pass STORAGE_ITEM_KEY so saved
    survey data is actually cleared on reset.

https://claude.ai/code/session_01KhUL4yyE7iqFCBwdn4X5Pz

- Fix parchment/button/input max-width from calc(100vw - Npx) to 100%
  so widths are relative to parent container, not the viewport. On 393px
  screens (iPhone 16/17) the parchment overflowed the frame by ~8px,
  causing page-level horizontal scroll that broke iOS Safari's layout.
- Add -webkit-fit-content fallback for cc-frame width on older Safari.
- Reset body/html overflow and height after survey completes so iOS
  can scroll the results panel (SurveyJS may leave overflow:hidden set).
- Fix resetSurvey() button call to pass STORAGE_ITEM_KEY so saved
  survey data is actually cleared on reset.

https://claude.ai/code/session_01KhUL4yyE7iqFCBwdn4X5Pz
@yetanotherchris
yetanotherchris merged commit 0355898 into main Mar 18, 2026
1 check passed
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.

2 participants