Skip to content

[MatButtonToggleGroup] cannot unset elevation #10934

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
merlosy opened this issue Apr 20, 2018 · 3 comments
Closed

[MatButtonToggleGroup] cannot unset elevation #10934

merlosy opened this issue Apr 20, 2018 · 3 comments
Assignees
Labels
area: material/button-toggle P5 The team acknowledges the request but does not plan to address it, it remains open for discussion

Comments

@merlosy
Copy link

merlosy commented Apr 20, 2018

Bug, feature request, or proposal:

The class "mat-elevation-z0" doesn't change elevation style

What is the expected behavior?

I should be able to unset the elevation with the class "mat-elevation-z0"

What is the current behavior?

It does nothing

What are the steps to reproduce?

StackBlitz: https://stackblitz.com/edit/angular-pqeknw?file=app%2Fbutton-toggle-exclusive-example.html

What is the use-case or motivation for changing an existing behavior?

It seems to be the proper to unset it.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?

Angular: 5
Angular Material: 5
Windows 8.1

Is there anything else we should know?

CSS rules seem to be in the wrong order.
Also, I believe the text (options) is a bit too bright, and the is not recommendation for toggle buttons with text on https://material.io/guidelines/components/buttons.html#buttons-toggle-buttons

@crisbeto
Copy link
Member

Should be possible once #7909 gets in.

@josephperrott josephperrott added P5 The team acknowledges the request but does not plan to address it, it remains open for discussion has pr labels Nov 29, 2018
@crisbeto
Copy link
Member

Should've been resolved some time ago by #14722.

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area: material/button-toggle P5 The team acknowledges the request but does not plan to address it, it remains open for discussion
Projects
None yet
Development

No branches or pull requests

5 participants