Repository navigation
Add opt-in Material 3 connected button groups for ion-segment - #80
Merged
Merged
Conversation
Contributor
Playwright test resultsDetails
|
Contributor
|
📊 Ionic 9 Playwright Test Report View the detailed Ionic 9 report: https://webview-native-ui.github.io/ionic-theme-md3/pr-80/ Ionic 8 runs against the same screenshots in a separate matrix job. View both results in the workflow run. |
Contributor
Author
|
/update-screenshots |
Contributor
Author
|
/update-screenshots |
Contributor
|
❌ Failed to update screenshots. Please check the workflow run for details. |
Contributor
npm beta publishedCI passed for the merge commit npm install @rdlabo/ionic-theme-md3@9.3.0-beta.pr80.shabd17ab96a32f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
.segment-groupto anion-segmentto use Material 3 connected button shapes with Ionic single selection. A press tightens the inner corners and starts a bounded ripple. On release the selected item becomes pill-shaped. The item widths and 2px gaps stay fixed.The Segment demo and the Special markup guide include an interactive example. Verified the leading, middle and trailing button geometry in LTR and RTL, and opened the documentation preview directly to check selection.
Android 17 reference
Settings → Modes → Transit → App settings. A short touch near the left edge of the selected middle option isolates the ripple from a selection change.
android-ripple.mp4
Theme demo
ionic-ripple.mp4