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

Disable page refresh on disconnect? #436

Open
kapily opened this issue Mar 25, 2024 · 1 comment
Open

Disable page refresh on disconnect? #436

kapily opened this issue Mar 25, 2024 · 1 comment

Comments

@kapily
Copy link
Contributor

kapily commented Mar 25, 2024

Is there an option to prevent page refresh on disconnect? Currently, mercury refreshes the page when it loses connection to the server.

For my use case, I want to persist whatever is on the page if the connection gets lost.

It would also be nice to not "gray-out" the screen.

Use case: a page takes a long time to render and there's no need to refresh it afterwards. The server is flaky and loses connection sometime and I don't want to lose the contents of the webpage when the connection the server is bad

@kapily
Copy link
Contributor Author

kapily commented Mar 25, 2024

I realized I actually filed a bug about this earlier:
#365

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

No branches or pull requests

1 participant