Skip to content

Determinate progress-bar broken in @angular rc1 #430

Closed
@Pixcell

Description

@Pixcell

Note: for support questions, please use one of these channels:
https://github.com/angular/material2/blob/master/CONTRIBUTING.md#question.
This repository's issues are reserved for feature requests and bug reports.

  • Do you want to request a feature or report a bug?

Bug

  • What is the current behavior?

Determinate progress bar always at 100% (or 0, can't tell)

  • If the current behavior is a bug,
    please provide steps to reproduce and if possible a minimal demo of the problem

    via https://plnkr.co or similar.

<p> <span>PID completion {{h.pid.percentage}}%</span><span *ngIf="h.pid.warning">{{h.pid.warning}}</span> <md-progress-bar mode="determinate" color="{{getColor(h.pid.percentage)}}" value={{h.pid.percentage}}></md-progress-bar> </p>

screen shot 2016-05-13 at 08 49 08

  • What is the expected behavior?

Progress bar to be filled with the correct percentage

  • What is the motivation / use case for changing the behavior?
  • Which version of Angular and Material, and which browser and OS does this issue affect?
    Did this work in previous versions of Angular / Material?
    Please also test with the latest stable and snapshot versions.

Chrome latest version. @angular2-material.alpha.4. @angular2.rc.1

  • Other information
    (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix)

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions