Frontend: Lovelace creates "empty" column for conditional cards when cards are not shown

Created on 16 Aug 2020  ·  5Comments  ·  Source: home-assistant/frontend

Checklist

  • [X] I have updated to the latest available Home Assistant version.
  • [X] I have cleared the cache of my browser.
  • [X] I have tried a different browser to see if it is related to my browser.

The problem

In its algorithm for organizing the cards, Lovelace also sometimes creates columns which only contain hidden conditional cards which breaks the layout.

Screenshot_20200816_110057

Expected behavior

Lovelace should not create "empty" columns. One possibility would be to append a hidden conditional card to the previous column.

Steps to reproduce

Create a Lovelace dashboard with multiple conditional cards which are hidden.

Environment

  • Home Assistant release with the issue: 0.114.1 docker
  • Last working Home Assistant release (if known): none
  • Browser and browser version: Chrome latest, Firefox latest
  • Operating system: Ubuntu 18.04, Windows 10

State of relevant entities

N.a.

Problem-relevant configuration

N.a.

Javascript errors shown in your browser console/inspector

None

Additional information

None

bug

Most helpful comment

I am the reporter of the issue. My comment was in reply to the bot.

All 5 comments

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.

That seems to still persist in 117.5

@sgofferj if an issue is open you can assume it still persists. No need to comment as such. Just add a thumbs up to the original issue.

I am the reporter of the issue. My comment was in reply to the bot.

🤦‍♂️ of course. sorry, I'll drink more ☕ now 😄

Was this page helpful?
0 / 5 - 0 ratings