Skip to content

fix(list): restore physical safe-area padding - #207

Merged
rdlabo merged 1 commit into
mainfrom
fix/inset-list-safe-area-duplication
Sep 21, 2026
Merged

rdlabo merged 1 commit into
mainfrom
fix/inset-list-safe-area-duplication

Conversation

@rdlabo

@rdlabo rdlabo commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • restore the physical right-side inset-list padding used before fix: support RTL layout #175
  • keep --ion-safe-area-right paired with the physical padding-right
  • remove the RTL-specific remapping to the left safe-area

Why

PR #175 changed the canonical physical declaration from padding-right to padding-inline-end and remapped the physical safe-area variable according to writing direction. A physical viewport inset must not be mirrored as a logical component inset: --ion-safe-area-right corresponds to padding-right regardless of LTR or RTL.

This PR narrowly restores the pre-#175 declaration. It intentionally does not introduce a new safe-area class or change viewport layout.

The maintained ios26 branch already uses a fixed 16px native padding and does not contain this duplication.

Verification

  • npm run build:css
  • npm run lint
  • PLAYWRIGHT_BROWSERS_PATH=/tmp/ionic-theme-pw npx playwright test e2e/rtl.spec.ts --reporter=list (2 passed)

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@rdlabo
rdlabo force-pushed the fix/inset-list-safe-area-duplication branch from 08e0b98 to a9482e6 Compare September 21, 2026 06:46
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

Playwright test results

passed  336 passed

Details

stats  336 tests across 18 suites
duration  4 minutes, 35 seconds
commit  9b52ba1
info  This detailed result covers Ionic 9 only. Ionic 8 runs against the same screenshots in a separate matrix job; check the workflow run for both results. To update the screenshots, comment with /update-screenshots.

@rdlabo
rdlabo force-pushed the fix/inset-list-safe-area-duplication branch from a9482e6 to a499b83 Compare September 21, 2026 06:49
@rdlabo rdlabo changed the title fix(list): avoid duplicate inline safe-area padding fix(list): restore physical inset item padding Sep 21, 2026
github-actions Bot added a commit that referenced this pull request Sep 21, 2026
@github-actions

github-actions Bot commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

📊 Ionic 9 Playwright Test Report

View the detailed Ionic 9 report: https://rdlabo-dev.github.io/ionic-theme-ios27/pr-207/

Ionic 8 runs against the same screenshots in a separate matrix job. View both results in the workflow run.

github-actions Bot added a commit that referenced this pull request Sep 21, 2026
@rdlabo
rdlabo force-pushed the fix/inset-list-safe-area-duplication branch from a499b83 to cf32fcf Compare September 21, 2026 07:01
github-actions Bot added a commit that referenced this pull request Sep 21, 2026
@rdlabo

rdlabo commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

/update-screenshots

github-actions Bot added a commit that referenced this pull request Sep 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

ℹ️ No screenshot changes detected.

The current screenshots are already up to date.

@rdlabo
rdlabo force-pushed the fix/inset-list-safe-area-duplication branch from cf32fcf to 9b15f0d Compare September 21, 2026 07:15
@rdlabo rdlabo changed the title fix(list): restore physical inset item padding fix(list): avoid duplicate inline safe-area padding Sep 21, 2026
@rdlabo
rdlabo force-pushed the fix/inset-list-safe-area-duplication branch from 9b15f0d to 9b52ba1 Compare September 21, 2026 07:19
@rdlabo rdlabo changed the title fix(list): avoid duplicate inline safe-area padding fix(list): restore physical safe-area padding Sep 21, 2026
github-actions Bot added a commit that referenced this pull request Sep 21, 2026
github-actions Bot added a commit that referenced this pull request Sep 21, 2026
github-actions Bot added a commit that referenced this pull request Sep 21, 2026
@rdlabo
rdlabo merged commit 68d50b7 into main Sep 21, 2026
15 of 19 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

npm beta published

CI passed for the merge commit 68d50b7e8a69. Install the immutable version with:

npm install @rdlabo/ionic-theme-ios27@1.0.4-beta.pr207.sha68d50b7e8a69

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.

1 participant