Pop-up card tap action failing since 2023.07

Hello,

I have an issue with pop-up cards since 2023.07. Browser-mod is installed and up-to-date.
When pressing a button, the pop-up opens fine and works as expected. Only actions are not being triggered when pressing a button on the pop-up.

This is the pop-up yaml code:

type: custom:popup-card
entity: switch.stopcontact_fiets
dismissable: true
title: Fiets Laden
card:
  type: horizontal-stack
  cards:
    - type: conditional
      conditions:
        - entity: switch.stopcontact_fiets
          state: 'off'
      card:
        type: horizontal-stack
        cards:
          - type: custom:mushroom-template-card
            primary: Manueel Laden
            secondary: ''
            icon: mdi:power-socket-fr
            entity: input_button.stopcontact_fiets_knop_gui
            layout: vertical
            icon_color: |-
              {% if states('switch.stopcontact_fiets') == 'on' %}
              blue
              {% elif states('input_boolean.bool_fiets_laden') == 'on' %}
              amber
              {% endif %}
            tap_action:
              action: call-service
              service: browser_mod.sequence
              target: {}
              data:
                sequence:
                  - service: input_button.press
                    data:
                      entity_id: input_button.stopcontact_fiets_knop_gui
                  - service: browser_mod.close_popup
          - type: custom:mushroom-entity-card
            entity: input_boolean.bool_fiets_laden
            icon: mdi:solar-power
            layout: vertical
            tap_action:
              action: call-service
              service: browser_mod.sequence
              target: {}
              data:
                sequence:
                  - service: input_boolean.turn_on
                    data:
                      entity_id: input_boolean.bool_fiets_laden
                  - service: browser_mod.close_popup
            name: Laden op Zonne Energie
            secondary_info: none
    - type: conditional
      conditions:
        - entity: switch.stopcontact_fiets
          state_not: 'off'
      card:
        type: custom:mushroom-template-card
        primary: Uitschakelen
        secondary: ''
        icon: mdi:power-socket-fr
        entity: switch.stopcontact_fiets
        icon_color: |-
          {% if states('switch.stopcontact_fiets') == 'on' %}
          blue
          {% elif states('input_boolean.bool_fiets_laden') == 'on' %}
          amber
          {% endif %}
        layout: vertical
        tap_action:
          action: call-service
          service: browser_mod.sequence
          target: {}
          data:
            sequence:
              - service: input_button.press
                data:
                  entity_id: input_button.stopcontact_fiets_knop_gui
              - service: browser_mod.close_popup

The tap_action is calling browser mod sequence. The sequence should take an action and close the pop up. This was working fine until the update to 2023.07.
Any idea whats going wrong here?

Thanks.
Michiel

Solved after upgrading Browser_mod to 2.3.0

Odd - I just noticed this today on my pop-up cards. No tap_actions work. I checked my Browser Mod version, and I’m on 2.3.0. The issue remains after HA restart.

Have you cleared your browser cache?

Doh… no, why would I do that? I forgot…

I just reset on iOS and on my Win PC browser (properly). Unfortunately, still no tap response from the pop-up cards.

Have you updated mushroom to latest as well ?

Yes, Mushroom is at v3.0.3, latest I’m seeing on GH.

Same issue here. Just noticed it today, so I’m not sure when it showed up. Updated to latest mushroom, HA, browser_mod. Cleared caches on browsers. Seems to be happening on all devices: laptop (Mac using Chrome), HA application on laptop, and on my idevices using the HA app.

1 Like

I did have this issue, but after several restarts, and browser cache clearing its working again

Have you tried F12 in chrome and see if there are any errors?

Have also been having this issue since 2023.7.
Kind of gave up and started implementing different solutions.

Thanks for this thread, all I still needed to do was a Ctrl-F5 on Windows.
For the HA Android App, clearing the cache in App Settings solved it there.

Pop-up controls can now call tap actions again. Noice.

Ahh, weird. I do CTRL-F5 all the time, but didn’t think I had to after clearing the cache properly… but that worked.

Still having issues with iOS, though. And worse, the pop-ups are now full-screen and I can’t get them to close without a force quit.

EDIT: I just did another “reset frontend cache” in the iOS Companion app and it’s now working. It’s the same process I used yesterday, so I’m not sure why it chose today to work. However, I need to fix the full-screen pop-ups as I don’t know why that’s happening now. They’re not full-screen on my Win browser.

EDIT 2: Yep, this is fully aggravating. Pop-up cards suddenly take up the full screen of my iPhone, preventing me from tapping out of them:

Previously, they were just the height of the buttons. Now… full screen height.