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

Should s-offline poll to get current online/offline status #1037

Open
wighawag opened this issue Feb 15, 2023 · 0 comments
Open

Should s-offline poll to get current online/offline status #1037

wighawag opened this issue Feb 15, 2023 · 0 comments

Comments

@wighawag
Copy link

Hi, I tested the demo and when I go in dev tool in chrome I can set network to be offline and can see the demo rightly detect the offline status right away. Same when I enabled the network again in the dev tool

But when I switch off my internet, the browser does not seem to send any update to s-offline and the demo is not aware of changes.

One option could be that s-offline ping regularly (polling) to check offline/online status

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