Bubble-Card: Strange error in horizontal button card

Describe the bug On my Tablet dashboard there seams to be an issue with Horizontal Button card it isn’t loading only showing error image When enter edit mode error is still there image

After I edit and do not change anything and save card is showing, but after full refresh again error is showed. Error showed on Tablet and Edge in Windows 10

To Reproduce Don’t know after update it happend. Tried to remove and recreate card but error is still there. In the other hand in my mobile dashboard all is working fine on Mobile phone and Desktop

Expected behavior Show horizontal Button Card. After edit without changes and save: image

Screenshots image

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser Edge 123.0.2420.81
  • Version 2.0.0 - beta-1

Smartphone (please complete the following information):

  • Device: Samsung
  • OS: Android 10
  • Browser Wallpanel app
  • Version 2.0.0 - beta-1

Additional context Code is nothing sepcial no Styling look below type: custom:bubble-card card_type: horizontal-buttons-stack 1_link: '#heating' 1_name: Ogrzewanie 1_icon: mdi:heat-wave 2_link: '#electricy' 2_name: Prąd 2_icon: mdi:transmission-tower 3_link: '#shopping' 3_name: Zakupy 3_icon: mdi:shopping-outline 4_link: '#media' 4_name: Rozrywka 4_icon: mdi:movie-open-settings 5_link: '#lights_house' 5_name: Dom 5_icon: mdi:ceiling-light-multiple-outline 5_entity: light.swiatla_w_domu 6_link: '#lights_backyard' 6_name: Podwórko 6_icon: mdi:dome-light 6_entity: light.swiatla_na_zewnatrz 7_link: '#state' 7_name: Stan domu 7_icon: mdi:home-assistant 8_link: '#cctv' 8_name: Monitoring 8_icon: mdi:cctv width_desktop: 800px is_sidebar_hidden: true highlight_current_view: true

Thank you! 🍻

About this issue

  • Original URL
  • State: closed
  • Created 3 months ago
  • Reactions: 1
  • Comments: 23 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I know what is happening here, I will fix that for the next release.

That is true the issue is finally solved. Many thanks

This issue should be fixed now, I’m waiting for your feedback 🤞

https://github.com/Clooos/Bubble-Card/releases/tag/v2.0.0-beta.6

I am still experiencing the same issue on the latest beta. Thanks for all the hard work! My new mobile dashboard is coming along great but the tablets that use grid view are having trouble.

Edit: Just noticed that while my kindle fire tablets show “Cannot read properties of undefined (reading ‘contains’)” my iPad Pro had a slightly different error with the same dashboard. “undefined is not an object (evaluating 'e.parentNode.parentNode.classList.contains”).

Thanks, Cloos, this has fixed my issue!

You need to follow the steps I’ve sent, doing this is not working. Just remove it from from HACS first.

Sorry for late response. I have done that but the issue is still the same, restarted HA and cleared browser cache image