question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

State color doesn't change for submenu items

See original GitHub issue

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: main

Last working release (if known):

Browser and Operating System: Firefox 97.0, Ubuntu 20.04

Description of problem:

Similar to https://github.com/dermotduffy/frigate-hass-card/issues/360, but the issue is with submenu items.

image

elements:
  - type: custom:frigate-card-menu-submenu
    icon: mdi:lightbulb
    items:
      - entity: switch.living_room_light_switch
        tap_action:
          action: toggle
      - entity: switch.living_room_wall_light_switch
        tap_action:
          action: toggle

Javascript errors shown in the web inspector (if applicable):


Additional information:

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
peledziuscommented, Feb 18, 2022

My bad, I didn’t notice that I built card without #391

Sorry for troubling.

1reaction
dermotduffycommented, Feb 18, 2022

Ok, thanks. Will investigate. (I tested with lights rather than switches, that may be the difference)

Read more comments on GitHub >

github_iconTop Results From Across the Web

html - Maintaining the hover state background color while ...
The d menu has a background color on hover, but when the users hover on its sub menu items, the background color of...
Read more >
Why submenu item's background color is not changing by css?
This results in every item in the page to be green except submenu's backgroud which is still gray. However text of the submenu...
Read more >
How to change color of the nav menu hover, and active states?
I can use the tools to change the link colors, but not the states, ... to make the top level menu item open...
Read more >
Background color of navgation submenu not working
Three of my four nav menu items have submenus. ... However, any changes I make to the BACKGROUND color for Submenu and Overlay...
Read more >
Submenu color - Support - Premium WordPress Themes
I am trying to change the background color of the submenu (different ... #menu-item-116 span { color: #ffffff !important; } /* Hover state...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found