Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: more-info popup auto-closes (desktop) or opens off-screen (mobile) after 5.1.1 + HA 2026.3 #1892

@Deishelon

Description

@Deishelon

Requirements

  • I checked the troubleshooting section in the README to verify that I have the latest Mushroom version.
  • I did a search to see if there is a similar issue or if a pull request is open.
  • I have read the state of card mod support (in pin issues) and understand card mod support is not provided in this repository.

Current Behavior

With update to latest HA (2026.3 from 2026.2) AND latest mushroom (5.1.1), I get 2 different undesired behaviours, based on screen size.

I've attached the video showcasing the issue:
https://github.com/user-attachments/assets/e91d8b8e-1ff2-47dd-82ef-674e2ddf0bee

Behavior as per video:

  • Showcasing that clicking on the card itself (default click) - works as expected on big screen
  • Clicking on Icon (show another entity) - closes the popup automatically within 1 second <-- bug
  • Then, going to 'mobile view'
  • Showcasing that clicking on Icon (show another entity) - works just fine, if the widget is shown without scrolling to it
  • Showcasing that clicking on card itself (default click) - works just fine
  • Perform scroll to cards that are off screen
  • Clicking on card itself (default click) - works just fine
  • Clicking on Icon (show another entity) - opens the view, but it's off screen, so need to scroll to it <-- bug

Expected Behavior

No response

Steps To Reproduce

Consider the following mushroom widget:

type: custom:mushroom-template-card
primary: Hot Water
icon: mdi:thermometer-water
features_position: bottom
secondary: |-
  {{ states('sensor.shellyem_c45bbee16b44_channel_2_current', with_unit=true) }}
  {{ states('sensor.shellyem_c45bbee16b44_channel_2_power', with_unit=true) }}
multiline_secondary: true
entity: sensor.shellyem_c45bbee16b44_channel_2_power
icon_tap_action:
  action: more-info
  entity: sensor.shellyem_c45bbee16b44_channel_2_current

Which render like so:

Image

I've defined so that pressing on the widget will open sensor.shellyem_c45bbee16b44_channel_2_power entity statics, and if pressing on Icon will open sensor.shellyem_c45bbee16b44_channel_2_current

Context

N/A

Environment

- Browser: Chrome
- HA Version: 2026.3.4
- Mushroom: 5.1.1

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions