Layout shift during dashboard reload/refresh #21106
Unanswered
unknowablesymbol
asked this question in
Dashboard
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, before I try to investigate this issue on my own, if anyone familiar with this part of the codebase could point me in the right direction, it would be much appreciated!
It seems that if the browser tab running the Home Assistant dashboard loses focus for an extended duration, it reloads itself when focused. This causes the cards the shift around and can result in accidental misclicks.
It's especially frustrating when there is a significant delay between focusing the tab and the reload happening, which can lead to the impression of a page being ready to interact and then surprise! - a layout shift just as you click.
I'd like to understand why this reload happens and how it might be changed to avoid the layout shift or be eliminated entirely.
Beta Was this translation helpful? Give feedback.
All reactions