custom-cards / stack-in-card

🛠 group multiple cards into one card without the borders
MIT License
262 stars 24 forks source link

0.2.0 - Major Breaking Bug Combined with Swiper Card [nested cards issue] #17

Open ASNNetworks opened 3 years ago

ASNNetworks commented 3 years ago

Checklist:

Release with the issue: 0.2.0 Last working release (if known): 0.1.1 Browser and Operating System: Edge Chromium (Windows 10) & iOS14 (iPhone XS Max)

Description of problem: Hi, I just updated to this version but it has a major breaking issues. I have a lot of nested cards, like button-cards inside a swiper card and that inside a stack-in-card, which is inside a switch-card. With the new update all nested cards inside stack-in-card are deleted. It has always worked fine, so something major has been changed with the code. I don’t really know what though.

I have cleared chache and tried different browsers and devices. One thing I notice now with testing: when I edit my lovelace yaml to reload the dashboard everything appears again, until I refresh or close the tab. Then all those nested cards are gone again.

Though the results are mixed across my devices (what does and doesn’t get deleted) one thing is clear: everything inside a stack-in-card->swiper-card> is gone. So I think the new update doesn’t play nicely with swiper card somehow…

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

Additional information: I wrote this ticket as I was testing and figured stuff out on my own. Is there anything else I can share or do to describe the problem?

Edit: I have made two screenshots, before and after the update. I also Photoshopped some stuff in it to explain what each element is and how the layout is constructed. I hope this is clear, otherwise please let me know so I can elaborate further. This is just a part of my dashboard btw, this isn't a full view of dashboard.

Before nested view

After stack-in-card bug

mfabiani53 commented 3 years ago

Same here.... many custom button-cards are deleted from the frontend after the latest release.... all is working when downgrade to the previous release.

CDRX2 commented 3 years ago

Same for me with some entities cards.

jonostanck commented 3 years ago

The same. Hope this will be resolved.

Balok-Fesarius commented 3 years ago

Same

jonostanck commented 3 years ago

The problem still persists. Is someone planning to do something about it? Thanks!