Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

circular-progress does not play well with ng-shown and / or ng-if (IE11) #387

Closed
@cristiano-belloni

Description

@cristiano-belloni

I'm trying to show a circular progress indicator only when needed, but it seems to show only a white circle if using ng-show on the element:

This does not work, shows only a white circle (instead of the progress indicator) when the ng-show condition is true:

<material-circular-progress diameter="64" style="margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0;" mode="determinate" ng-value="progress.getProgressPercentage()" ng-show="progress.getProgressVisibility()"></material-circular-progress>

This does work, alway shows the circular progress correctly:

<material-circular-progress diameter="64" style="margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0;" mode="determinate" ng-value="progress.getProgressPercentage()" ng-show="true || progress.getProgressVisibility()"></material-circular-progress>

Also, the same thing on a linear progress indicator works both ways.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions