angular/components

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

已關閉

#19,873 建立於 2020年7月6日

 (0 則留言) (1 個反應) (0 位負責人)TypeScript (6,650 個分叉)batch import
P4area: material/progress-barhelp wanted

倉庫指標

星標
 (24,044 顆星)
PR 合併指標
 (平均合併 3天 12小時) (30 天內合併 98 個 PR)

描述

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

貢獻者指南