weather-chart-card icon indicating copy to clipboard operation
weather-chart-card copied to clipboard

Canvas view disappears when used in bubble card popup

Open perok opened this issue 5 months ago • 1 comments

Describe the bug

I have added this card inside the bubble card popup. Things are showing nicely the first time the popup is opened. After closing and opening again then the canvas view for the bar chart is gone.

To Reproduce Steps to reproduce the behavior:

  1. Create bubble card popup containing the weather chart card
# Button
              - type: custom:bubble-card
                card_type: name
                name: "Weather"
                button_action:
                  tap_action:
                    action: navigate
                    navigation_path: "#weather"
# Popup

          - type: vertical-stack
            cards:
              - type: custom:bubble-card
                card_type: pop-up
                hash: "#weather"

              - type: custom:weather-chart-card
                entity: weather.home
                forecast:
                  style: style2
                  precipitation_type: ""
                  type: daily
                  disable_animation: true
                animated_icons: true
                icon_style: style2
                show_time: false
                show_temperature: true
                show_main: false
                units:
                  pressure: ""
                  speed: ""
  1. Open the popup
  2. Close the popup
  3. Open the popup

Expected behavior

The bar chart showing every time one opens the popup.

Screenshots

Everything is showing as it should: image After reopening we are seeing this: image

Desktop (please complete the following information):

  • WEATHER-CHART-CARD VERSION: 2.4.9
  • HOME ASSISTANT VERSION AND INSTALLATION TYPE: 2024.8.3
  • OS: NixOS, Android
  • Browser: Reproduces in Android HA app, firefox, chrome

Additional context

perok avatar Aug 30 '24 08:08 perok