#Dropdown navigation bar.

1 messages · Page 1 of 1 (latest)

finite plinth
#

Hello, I made a new dashboard as there is no way atm to have dropdown menus on the default navigation bar in HA.
In my new dashboard i got icons and what i want is a tap for home icon to go back to homepage or long press to drop down and show different homepages i can access.
Bedroom icon to tap to view frequent access controls for lights etc and the long press to drop down to find the bedroom/room to access, and so on for other icons.

what im having trouble with is that if i have a drop down it gets cuts off as the section its in is a small area, can it apper on top and drop down through other sections, or is there a better way to do this ?

Attached is two photos of my current dashboard, the third is a photo of someone posting help for theirs with no code or link. but that dropdown for the office/bedroom is what i would like to see when long pressing.

Any Help will be appreciated!

timber cloud
#

I wanna start by saying I don't use Sections but I think my ideas will would for you. Both options use some custom stuff.
The first would involve using card_mod to change the z-index to a higher number. This should cause the overlay to appear on top on the Section positioned below it. (I don't know if this can be applied to the Section entirely or if it would need to be applied to each button.)
The second option would be to change the push-and-hold action from showing the drop-down to having it show a browser-mod pop-up instead. It can be a like bit of a hassle to set up but worth it when you get it.
I can provide some better examples later.