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

Card may not be displayed if one stack contains another stack #35

Closed
ildar170975 opened this issue Dec 18, 2021 · 2 comments
Closed

Card may not be displayed if one stack contains another stack #35

ildar170975 opened this issue Dec 18, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ildar170975
Copy link

ildar170975 commented Dec 18, 2021

Checklist:

  • [x ] I updated to the latest version available
  • [ x] I cleared the cache of my browser

Release with the issue:
0.2.0

Last working release (if known):

Browser and Operating System:
Win10x64, Chrome

Description of problem:
If one stack-in-card contains another stack-in-card, the card my not be displayed:

  1. Open some dashboard.
  2. Switch to "edit" mode.
  3. Add a new card and then paste code into Editor. Save the changes.
  4. The card is not displayed:
    image
  5. Switch off the edit mode.
  6. The card is not displayed.
  7. Refresh the page.
  8. The card is displayed.

Javascript errors shown in the web inspector (if applicable):
no errors


Additional information:

type: custom:stack-in-card
mode: vertical
keep:
  background: true
  box_shadow: false
  margin: true
  outer_padding: false
  border_radius: true
cards:
  - type: entities
    entities:
      - sun.sun
    card_mod:
      style: |
        ha-card {
          --ha-card-background: red;
        }
  - type: custom:stack-in-card
    mode: horizontal
    keep:
      background: true
      box_shadow: true
      margin: false
      outer_padding: false
      border_radius: true
    cards:
      - &ref_button
        type: button
        card_mod:
          style: |
            ha-card {
              --ha-card-background: grey;
            }
      - *ref_button
      - *ref_button

image

@ildar170975 ildar170975 added the bug Something isn't working label Dec 18, 2021
@ildar170975
Copy link
Author

Do not observe it for some last time.
Gonna test it for some period, will close it if it is OK.

@ildar170975
Copy link
Author

Closing it.
Do not see problems on 2 setups (2022.7, 2022.9).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant