angular/components

Changing the value of one progress bar repaints other progress bars on the same page

Open

#19,873 opened on Jul 6, 2020

View on GitHub
 (0 comments) (1 reaction) (0 assignees)TypeScript (24,044 stars) (6,650 forks)batch import
P4area: material/progress-barhelp wanted

Description

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/angular-dc63ug?file=src%2Fapp%2Fprogress-bar-determinate-example.html

Steps to reproduce:

  1. Open the url in latest chrome
  2. Open dev tool and click three dots, click more tools, add Rendering tab, select paint flashing checkbox there
  3. Now go back to demo url and change the value of second progress bar by typing in the second input box (from top)
  4. while changing any value you will observe the beneath progress bar is also repainting

Expected Behavior

What behavior were you expecting to see? Changing the value of one progress bar should not re-paint the other progress bar on the same page

Actual Behavior

What behavior did you actually see? Changing the value of one progress re-painting the other progress bar on the same page

Environment

  • Angular:8.2
  • CDK/Material:8.2.3
  • Browser(s): Chrome - 83.0.4103.116
  • Operating System (e.g. Windows, macOS, Ubuntu): Windows

Contributor guide

Changing the value of one progress bar repaints other progress bars on the same page · angular/components#19873 | Good First Issue