Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Force stop animation when download completes (#2630) #2659

Merged
merged 1 commit into from
Jun 7, 2023

Conversation

riojosdev
Copy link
Contributor

@riojosdev riojosdev commented May 4, 2023

Closes #2630

The infinite loading animation of the progress bar of the download files is forcefully stopped when the percentage reaches 100. GridFS stored files are not able to provide total file size in the beginning of the download. Which makes the percentage go from NaN to Infinite then finally to 100 when download finishes. But if the percentage is provided correctly from start to finish the loading bar is animated as usual. With this fix it stops animating for all completed ones

@CLAassistant
Copy link

CLAassistant commented May 4, 2023

CLA assistant check
All committers have signed the CLA.

@jeanfbrito jeanfbrito merged commit bd9ebe0 into RocketChat:master Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change Request: Desktop app / Downloads / progress bar indicates active dowload, despite download has finished
3 participants