-
Notifications
You must be signed in to change notification settings - Fork 847
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
Reloading page makes it blank after some secs #573
Comments
@S6066 Please let me confirm. The application should automatically reload the page when the app has become online from offline. Do you need to press Ctrl+R when you meet DNS or Network Changed error? |
@yuya-oc I do not need to press Ctrl+R, but I don't like waiting so I usually press it. |
The problem reproduced for me on Windows 10. The error is ERR_NAME_NOT_RESOLVED (-105). When the error is ERR_INTERNET_DISCONNECTED (-106), the app properly reloads the page automatically. The app automatically reloads the page every 30 seconds as another mechanism to repair the error. So I feel it's wrongly working when the page is manually reloaded. |
@yuya-oc Do you mean the error clears after 30 seconds, or that it should clear but for some reason it doesn't. |
@jasonblais Yes, if the error is gone in that time, the user will see correct reloaded webapp. However I think the automatic reloading is not canceled when the page is manually reloaded. So the page reloads again after Ctrl+R is done. |
Okay cool. Do you have an idea on how much work it is to fix? Wondering if we should fix it in 3.8 |
It looks easy. I will test my fix tomorrow. |
From @S6066 at mattermost/mattermost#7242
Summary
Sometimes I have a DNS error, or a Network Changed one, and I have to reload (Ctrl + R) the page.
When doing that, after some seconds the page becomes blank one second and reload again
https://youtu.be/pyeaz3hp5b4
Steps to reproduce
Ctrl+R
.Expected behavior
The reloading should happen only once.
Observed behavior
The page reloads twice.
Possible fixes
?
The text was updated successfully, but these errors were encountered: