Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot close pop-up by navigating to # inside the pop-up #579

Open
mrcharlesiv opened this issue Jun 13, 2024 · 1 comment
Open

Cannot close pop-up by navigating to # inside the pop-up #579

mrcharlesiv opened this issue Jun 13, 2024 · 1 comment

Comments

@mrcharlesiv
Copy link

Sometimes, I can close the pop-up by navigating to the #, but in others, it won't work. Is it possible to allow the navigate action to close the pop-up no matter how it's called?

These do not work:

  • type: custom:mushroom-chips-card
    chips:
    • type: template
      tap_action:
      action: navigate
      navigation_path: '#lights'
      icon: mdi:lightbulb-alert
    • type: action
      tap_action:
      action: navigate
      navigation_path: '#lights'
      icon: mdi:arrow-down

This does work:

type: custom:button-card
name: Cancel
show_icon: false
tap_action:
action: navigate
navigation_path: '#appletv'

@Clooos
Copy link
Owner

Clooos commented Jun 30, 2024

Hi! I've just tried and this is working for me, do you have updated Mushroom to the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants