Closed zeular closed 3 years ago
clicking the Gif link doesnt work..
I have the same issue in 0.116.2 but only in panel mode. The card margin in panel mode is not the same as in normal mode
I still have problems, can not find anything that solves it. Have tried turning off sensors and disabling lovelace cards but no difference.
What bothers me the most is that my standalone dashboard does not want to load the frontend when loading the start page. If I press the 3 points at the top right and choose to update, the frontend is loaded.
I saw in the changelog, a change with fronend: v0.116.1 (Update frontend to 20201001.2 (@bramkragten - # 41491)) Could it be the one who caused this?
I may have found what caused the error: ´lovelace-layout-card´ https://github.com/thomasloven/lovelace-layout-card The first horizontal card that holds 4 vertical cards.
If I remember correctly, it was among the first things I tried to change, but I have tried so much so I do not know in what order. Maybe it's related to something else I changed.
I'll let it go for a few days and we'll see how it goes. @thomasloven for info
I agree, the problem seems to be in the lovelace-layout-card. If you add column_width 25% (4 columns) the scrollbars & jumping goes away. It's a fix for my laptop screen but makes the screen on my phone unusable as it's all squashed together. Anyone else have a work around?
I also tested with 25%, but just like you say it did not turn out really well.
Have you tried setting a fixed width in pixels? I think it worked better, but it depends on whether you work many different screens with different resolutions.
Example: column_width: 200
Edit: Read more about it here: https://github.com/thomasloven/lovelace-layout-card/issues/96
Are the column margins changed? If use lovelace-layout-card this light be a fix: https://github.com/thomasloven/lovelace-layout-card/issues/95#issuecomment-710861197
I saw that comment by Thomas but haven't figured out where to put the margin change, yet!
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
I still have that issue as well. It seems to occur when
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
Checklist
The problem
After updating from 116.0 to 116.2, I got scrollbars on both x & y axis. Which causes the frontend to jump back and forth. My cards are all the way to the edge of the browser, in version 116.0 it was about 5px between cards and the edge. It gets worse when I place the mouse pointer over a "mini-graph-card" but I have the same problem with scrollbars on views without a "mini-graph-card". I have plenty of empty space on the Y-axis but still get scrollbars. Have tried disabling cards and clearing cache. It is only on views with 4 columns. If I zoom out to about 75%, the problem disappears. Image: https://i.ibb.co/cvNSYXh/HA.gif
Expected behavior
No scrollbars
Steps to reproduce
I don't know.
Environment
State of relevant entities
Problem-relevant configuration
I have the same problem on two different systems, I have entered all the code on the "small" system, it only consists of a "Dashboard". Maybe you can see something wrong in my code.
Javascript errors shown in your browser console/inspector
None
Additional information
I have tried the default theme, no difference, I have reinstalled my integrations in HACS, no difference. I reload cache via F12 and "Hard" in Chrome. I have hidden cards, but have tried to disable them, no difference.
When I show my dashboard on a 24 "with chromium browser - kiosk. Then it does not load the frontend/lovelace cards at all. I see menus or if I go into the supervisor. Sometimes it can show lovelace if I press F5 or ctrl + shift + F5 but it is completely sporadic.