kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.49k stars 205 forks source link

Clicking on a dropdown while in the card editor preview, will unexpectedly close the editor #632

Closed sdrapha closed 2 years ago

sdrapha commented 2 years ago

Steps to reproduce the bug:

create any card with a dropdown:

generic example:

type: custom:mini-media-player
entity: media_player.nest_big2
shortcuts:
  label: 'Target speaker:'
  list:
    - name: Basement Screen
      type: source
      id: basement_screen
      icon: mdi:television
    - name: TV Chromecast
      type: source
      id: tv_chromecast
      icon: mdi:television

Test the card on the preview side, the second click on the dropdown will force close the whole editor.

image

kalkih commented 2 years ago

Fixed in latest release