Clooos / Bubble-Card

Bubble Card is a minimalist card collection for Home Assistant with a nice pop-up touch.
MIT License
1.62k stars 46 forks source link

Conflict between Service Confirmation Popup and Bubble Popup #269

Closed aaronperreault closed 1 month ago

aaronperreault commented 7 months ago

Hardware - Generic x86-64 Core - 2023.12.3 Supervisor - 2023.12.0 Operating System - HAOS 11.2 Frontend -20231208.2 Bubble Card - v1.5.3

I'm running into an issue where I have service confirmations on tap actions contained within a bubble card popup. When I interact with the service confirmation popup, tapping either Yes or Cancel, the bubble card popup closes entirely and cannot be re-opened unless I open a different bubble card popup first.

Specifically in my case, the workflow is:

Open Home Assistant Dashboard

  1. Click/Tap on Vacuum Card --> Navigates to Vacuum Bubble Card Popup
  2. Click/Tap on card to run service --> Confirmation Popup Opens ("Are you sure?") 3a. Click/Tap on CANCEL --> Service does not run --> Confirmation Popup closes --> Vacuum Bubble Card Popup closes, returns to main dashboard 3b. Click/Tap on OK --> Service runs --> Confirmation Popup closes --> Vacuum Bubble Card Popup closes, returns to main dashboard
  3. Click/Tap on Vacuum Card --> Nothing happens
  4. Click/Tap on Thermostat Card --> Navigates to Thermostat Bubble Card Popup
  5. Close Thermostat Bubble Card Popup --> Return to Main dashboard
  6. Click/Tap on Vacuum Card --> Navigates to Vacuum Bubble Card Popup

I'm not sure what could be causing this. The behavior occurs on both desktop and mobile devices. Happy to provide screenshots/yaml if that would help.

fcassata commented 1 month ago

I think I'm running into the same thing with the edit item dialog on the todo list card in a pop-up. Did you ever find a workaround for this?

Clooos commented 1 month ago

Hi! Have you tried to add close_by_clicking_outside: false in your YAML? That should fix your issues.

fcassata commented 1 month ago

Hi! Have you tried to add close_by_clicking_outside: false in your YAML? That should fix your issues.

Thank you! Of course that fixes it :)