PolymerElements / paper-progress

A Material Design progress
32 stars 43 forks source link

secondary progress is not always visible when using indeterminate #68

Closed araker closed 7 years ago

araker commented 7 years ago

Description

Insert a progress element with the following syntax <paper-progress indeterminate class="blue" secondary-progress="80"></paper-progress>

Expected outcome

I expect that the secondary progress is always visible, independent of the foreground animation

Actual outcome

Every other cycle the foreground animation let the secondary progress bar disappear.

Live Demo

Edit the demo (https://www.webcomponents.org/element/PolymerElements/paper-progress/demo/demo/index.html) with the line from the description

Steps to reproduce

See live demo

Browsers Affected

keanulee commented 7 years ago

That's because we use another element (with the same background color as the container) to overlay the primary progress to create that animation. In other words, using secondary progress with indeterminate is not supported.