Skip to content
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

Select option styling bug #4476

Closed
nstohler opened this issue May 11, 2017 · 1 comment · Fixed by #4658
Closed

Select option styling bug #4476

nstohler opened this issue May 11, 2017 · 1 comment · Fixed by #4658
Assignees
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent

Comments

@nstohler
Copy link

Bug, feature request, or proposal:

Bug

What is the expected behavior?

Select component: setting an option programmatically should clear any existing previous selected item styles.

What is the current behavior?

The selection is changed, but the previously selected item has still the selected style

What are the steps to reproduce?

In the Plunker:

  • Open the select, notice the styling of "tacos", don't change anything, close the select
  • click the reset button
  • Open the select again: "pizza" and "tacos" have both the selected styling (mat-selected)

Providing a Plunker (or similar) is the best way to get the team to see your issue.
http://plnkr.co/edit/o866DpIMsaYVmPPjwNRf?p=preview

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

consisten look

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

tested it with Chrome 54

Is there anything else we should know?

@jelbourn jelbourn added the P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent label May 11, 2017
@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 Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants