Experience-Monks / Experience-Monks/preloader

Final onProgress value is not always 1

Open
#9 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
69
Forks
17
PR merge metrics
No merged PRs in 30d

Description

When listening to on progress, the final value returned is not always 1 when complete. Sometimes, it will return total files minus 1 (ie. for 6 files, the final value returned is sometimes 0.833...).This can also be observed in preloader.percTotal (which is never 1 and always totalFiles - 1 but I don't know if that is an issue).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.