Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Bug: Popup always visible when using lovelace state switch #47

Closed
rcjkierkels opened this issue Sep 13, 2023 · 1 comment
Closed

Bug: Popup always visible when using lovelace state switch #47

rcjkierkels opened this issue Sep 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@rcjkierkels
Copy link

rcjkierkels commented Sep 13, 2023

I am using this https://github.com/thomasloven/lovelace-state-switch integration to easily seperate mobile and desktop views using a mediaquery as state switch. But if I use this configuration and use your popup example the popup is always visible. I am using the latest version (beta 7). When I press the button the popup moves only up and down. It works great if I do not use the state-switch card.

panel: true
title: ""
icon: mdi:tablet-dashboard
path: overzicht
cards:
  - type: custom:state-switch
    entity: mediaquery
    states:
      "(max-width: 600px)": !include ./mobile/overzicht.yaml
      "all": !include ./desktop/overzicht.yaml
- type: button
    tap_action:
      action: navigate
      navigation_path: "#kitchen"
    name: Kitchen
    icon: mdi:fridge
  - type: vertical-stack
    cards:
      - type: custom:bubble-card
        card_type: pop-up
        hash: "#kitchen"
        name: Kitchen
        icon: mdi:fridge
        margin_top_mobile: 0px
      - !include ../cards/chips/voordeur.yaml
      - !include ../cards/chips/achterdeur.yaml
      - !include ../cards/chips/garagedeur.yaml
      - !include ../cards/chips/schuifpui.yaml
@Clooos Clooos added the enhancement New feature or request label Sep 13, 2023
@Clooos
Copy link
Owner

Clooos commented Sep 20, 2023

Hi and thanks for the feedback, I've never tried lovelace state switch but this issue seems to be related to this component (maybe I'm wrong), have you considered opening an issue on its page?

Repository owner locked and limited conversation to collaborators Jan 6, 2024
@Clooos Clooos converted this issue into discussion #283 Jan 6, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants