material
material copied to clipboard
mat-slide-toggle all toggles flash on changing one
Bug, enhancement request, or proposal:
Bug
CodePen and steps to reproduce the issue:
CodePen Demo which demonstrates the issue:
https://stackblitz.com/edit/angular-1jhujs?file=app%2Fslide-toggle-overview-example.ts
Detailed Reproduction Steps:
- create slide toggles in a loop
- the elements that feed the loop come from firebase
- on slide toggle, update items in firebase
- the items that feed the loop are updated on snapshotChanges()
- the toggled sliders flash
What is the expected behavior?
only the slide that is toggled should move
What is the current behavior?
all the toggled sliders reset to 'off' then to their current value I also have a short video of it if someone is interested
What is the use-case or motivation for changing an existing behavior?
Which versions of AngularJS, Material, OS, and browsers are affected?
- Angular: 6.1.2
- Angular Material: 6.4.3
- OS:
- Browsers: Chrome
Is there anything else we should know? Stack Traces, Screenshots, etc.
Oh, sorry about that
I am also facing same issue regarding mat-slide-toggle