In mathematics this formula (1 - Math.exp(-1 * this._time / this.timeConstant)) may never reach 1, but in computer it does,like this:


if timeConstant set 100,You can see my progress bar component is reaching 100 very quickly:

So I think we can add a limit to the operation of setting the progress 🤔:
setProgress(Math.min(progress, 0.9999999999999999))
Of course we can set timeConstant to avoid reaching 1 as much as possible (This is what we currently do in our project 😄)
In mathematics this formula (

1 - Math.exp(-1 * this._time / this.timeConstant)) may never reach 1, but in computer it does,like this:if
timeConstantset 100,You can see my progress bar component is reaching 100 very quickly:So I think we can add a limit to the operation of setting the progress 🤔:
Of course we can set
timeConstantto avoid reaching 1 as much as possible (This is what we currently do in our project 😄)