Skip to content

feat(material/select): add a styling token for the panel shape - #34119

Open
lxminarayn wants to merge 1 commit into
angular:mainfrom
lxminarayn:feat/select-container-shape
Open

lxminarayn wants to merge 1 commit into
angular:mainfrom
lxminarayn:feat/select-container-shape

Conversation

@lxminarayn

Copy link
Copy Markdown
Contributor

Adds a container-shape token to select-overrides so the border radius of the select panel can
be customized. Previously it was hardcoded to 4px, while the autocomplete and menu panels already
expose the same token.

The default rendering doesn't change. In M3 the value comes from corner-extra-small, so apps that
customize that system token will see the select panel follow it, like the autocomplete and menu
panels.

Apps can set it with mat.select-overrides((container-shape: ...)).

@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: material/select labels Nov 12, 2026
@pullapprove
pullapprove Bot requested review from crisbeto and ok7sai November 12, 2026 08:49
Previously the border radius of the select panel was hardcoded to 4px and couldn't be changed
through tokens. Adds a `container-shape` token to `select-overrides`, matching the existing token
of the autocomplete and menu panels. The default stays 4px. In M3 the value comes from
`corner-extra-small`, so the panel now follows that system token like the other two panels.
@lxminarayn
lxminarayn force-pushed the feat/select-container-shape branch from 8fe8a5b to 64a8545 Compare November 18, 2026 09:52
@lxminarayn

Copy link
Copy Markdown
Contributor Author

@crisbeto did you get a chance to check on this PR?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: material/select detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant