From c7e26b5e93b0e088f0491e386c40038e373eae80 Mon Sep 17 00:00:00 2001 From: Luke Vo Date: Wed, 21 Feb 2024 09:09:31 +0700 Subject: [PATCH] Added back the buffer check vs. max value --- progress/internal/linear-progress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progress/internal/linear-progress.ts b/progress/internal/linear-progress.ts index 7eb9c5a49..c54b9066e 100644 --- a/progress/internal/linear-progress.ts +++ b/progress/internal/linear-progress.ts @@ -42,7 +42,7 @@ export class LinearProgress extends Progress { // Only display dots when visible - this prevents invisible infinite // animation. const hideDots = - this.indeterminate || !hasBuffer || this.value >= this.max; + this.indeterminate || !hasBuffer || bufferValue >= this.max || this.value >= this.max; return html`