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

Incorrect height of vertical Tile cards in horizontal stack #22635

Closed
4 tasks done
bieniu opened this issue Nov 2, 2024 · 8 comments
Closed
4 tasks done

Incorrect height of vertical Tile cards in horizontal stack #22635

bieniu opened this issue Nov 2, 2024 · 8 comments

Comments

@bieniu
Copy link
Member

bieniu commented Nov 2, 2024

Checklist

  • I have updated to the latest available Home Assistant version.
  • I have cleared the cache of my browser.
  • I have tried a different browser to see if it is related to my browser.
  • I have tried reproducing the issue in safe mode to rule out problems with unsupported custom resources.

Describe the issue you are experiencing

In a section layout, vertical Tile cards in the horizontal stack have the incorrect height.

obraz

Describe the behavior you expected

Tile cards should be the same height with and without a horizontal stack.

Steps to reproduce the issue

  1. Create section layout
  2. Add horizontal stack card
  3. Add vertical Tile card to the horizontal stack
    ...

What version of Home Assistant Core has the issue?

core-2024.10.x/2024.11.0b2

What was the last working version of Home Assistant Core?

No response

In which browser are you experiencing the issue with?

Firefox 132/Safari (iPhone)

Which operating system are you using to run this browser?

Windows 11/iOS 18.1

State of relevant entities

No response

Problem-relevant frontend configuration

type: horizontal-stack
cards:
  - type: tile
    entity: sensor.home_temperature
    vertical: true
  - type: tile
    entity: sensor.home_pressure
    vertical: true

Javascript errors shown in your browser console/inspector

No response

Additional information

No response

@ildar170975
Copy link
Contributor

Same as #22616

@bieniu
Copy link
Member Author

bieniu commented Nov 2, 2024

I don’t think so, #22616 is related to 2024.11bX, I can also reproduce this issue on 2024.10.

@ildar170975
Copy link
Contributor

Very interesting. I am away from PC these days, cannot test in 2024.10.

@silamon silamon added this to the 2024.11 milestone Nov 3, 2024
@piitaya
Copy link
Member

piitaya commented Nov 5, 2024

Stack are not well supported in grid sections and will not as it's not really necessary with sections and the card resizing. What are you trying to achieve?

@piitaya piitaya removed this from the 2024.11 milestone Nov 5, 2024
@bieniu
Copy link
Member Author

bieniu commented Nov 5, 2024

What are you trying to achieve?

3 tile in the row.

image

I managed to fix the height by changing the layout configuration to 2 rows.

image

@piitaya
Copy link
Member

piitaya commented Nov 5, 2024

If you are running 2024.11 beta. You can enable precise mode to switch to a 12 columns grid and you will be able to have 3 cards side by side. No need for horizontal stack for this use case.

@bieniu
Copy link
Member Author

bieniu commented Nov 5, 2024

I'm embarrassed by my own blindness, I've been using the beta since Wednesday and didn't notice this option 🤦‍♂️ Thanks!

@piitaya
Copy link
Member

piitaya commented Dec 6, 2024

I'm closing the issue as stack card are not design to be used in grid section and we will not add support for that because you can have the same result using precise mode. You can still use it and set the height manually.

@piitaya piitaya closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2024
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

4 participants