Skip to content

Commit c7e26b5

Browse files
committed
Added back the buffer check vs. max value
1 parent 2512f55 commit c7e26b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

progress/internal/linear-progress.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class LinearProgress extends Progress {
4242
// Only display dots when visible - this prevents invisible infinite
4343
// animation.
4444
const hideDots =
45-
this.indeterminate || !hasBuffer || this.value >= this.max;
45+
this.indeterminate || !hasBuffer || bufferValue >= this.max || this.value >= this.max;
4646
return html`
4747
<div class="dots" ?hidden=${hideDots}></div>
4848
<div class="inactive-track" style=${styleMap(dotStyles)}></div>

0 commit comments

Comments
 (0)