Repository navigation
fix(alert): align embedded controls with Android 17 references - #75
Conversation
|
/update-screenshots |
|
/update-screenshots |
|
/update-screenshots |
Playwright test resultsDetails
|
|
📊 Ionic 9 Playwright Test Report View the detailed Ionic 9 report: https://webview-native-ui.github.io/ionic-theme-md3/pr-75/ Ionic 8 runs against the same screenshots in a separate matrix job. View both results in the workflow run. |
|
❌ Failed to update screenshots. Please check the workflow run for details. |
|
/update-screenshots |
|
✅ Screenshots have been updated successfully! The new screenshots have been committed to this PR. |
|
/update-screenshots |
|
/update-screenshots |
|
/update-screenshots |
|
✅ Screenshots have been updated successfully! The new screenshots have been committed to this PR. |
npm beta publishedCI passed for the merge commit npm install @rdlabo/ionic-theme-md3@9.2.1-beta.pr75.sha50d92c40d9e8 |
Alert checkboxes still used Ionic's 16px geometry, and embedded control state colors could override Material roles. Text inputs also accumulated an extra 20px gap below a header without a message. Choice lists retained Ionic dividers while the action group had zero top padding, leaving rounded buttons touching the bottom divider.
This change uses an 18px checkbox with a contained checkmark, maps checkbox/radio/input colors to Material roles, adjusts text size and header-to-field spacing, removes persistent radio/checkbox list dividers, and adds 24px between choice content and actions. The demo now includes checkbox, radio, text input, and textarea Alert variants, including wrapping and disabled choices. Legacy Ionic 8 checkbox columns are aligned with Ionic 9 without overriding Ionic 9 placement options.
Android 17 comparison
Captured on Pixel 8a, Android 17
CP2A.260705.006, density 420. The native checkbox is from Settings → Accessibility → Magnification shortcut; it is a geometry reference for the control, not an equivalent multi-choice Alert. The native input is from Settings → About phone → Device name. The native choice dialog is Settings → Network & internet → Private DNS: it has no persistent list divider and separates content from actions. Its additional input/help content means it is a structural reference, not a claim of identical dialog geometry. Updated theme captures use Chrome on the same device with the default Ionic palette. Native selected-glyph, wallpaper-color, and full-dialog pixel equivalence are not claimed.Validation