We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5912286 commit 131f610Copy full SHA for 131f610
src/Uno.Wasm.Bootstrap/ts/Uno/WebAssembly/Bootstrapper.ts
@@ -278,9 +278,11 @@ namespace Uno.WebAssembly.Bootstrap {
278
}
279
280
private reportDownloadResourceProgress(resourcesLoaded: number, totalResources: number) {
281
-
282
- this.progress.max = totalResources;
283
- (<any>this.progress).value = resourcesLoaded;
+ // The totalResources value reported by .NET does not represent
+ // the actual total. To prevent progress bar from jumping
+ // setting the max progress to 100 instead.
284
+ this.progress.max = 100;
285
+ (<any>this.progress).value = Math.min(resourcesLoaded, 100);
286
287
288
private initProgress() {
0 commit comments