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

Chrome/Edge tab focus #231

Open
wndgst opened this issue Feb 9, 2021 · 1 comment
Open

Chrome/Edge tab focus #231

wndgst opened this issue Feb 9, 2021 · 1 comment

Comments

@wndgst
Copy link

wndgst commented Feb 9, 2021

I have been using Canvas Gauges.
All has been working fine till January 2021 Chrome/Edge browser updates.

The issue appears to happen if the Tab loses focus or minimized
When going back to the tab with my gauges on them, Looking in Dev tools I can see the data-value has changed
but the gauges are still showing the old value. If I edit the data-value in dev tools it will update with the correct reading and update the gauge.
If I wait for the next value change everything updates like it should.
Main issue is with temperature (Due to it not changing often)
Windspeed/dir are not affected has on a tab focus the data usually changes quickly(we always have wind where I live)

Is there a way to fix this without having to refresh the page?
source code is located on this page
https://www.windgust.com/live1
Am I updating the page wrong? All appears to work until the page loses focus for about 8-10 minutes.
If I use an old version of Chrome/edge I do not have this problem.

@wndgst
Copy link
Author

wndgst commented Feb 13, 2021

Maybe this project is dead.
A few comments to add from above issue.
If I go into Dev tools, I do see the data-value has changed, But for some reason the gauges do not reflect the current value. If I edit the data-value the gauge will immediately update, Happens in chrome after 5-8 minutes if page is left open or if focus on tab is lost. Issue seems to happen on data-values that are not changed constantly
You can view the source at https://www.windgust.com/live1
If this project is dead please let know, If it is I will look for newer gauges that are active and updated.
Thanks

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