Closed donaldguy closed 2 years ago
It seems like maybe why I can't find the issue is cause I don't/didn't understand the ~templating concept of slot
s in web components?
If that's the issue, this is probably more of an upstream thing. There are other dropdowns I still have working but I don't see them using the same pattern ...
This is probably downstream of #606 I guess
Seemingly since I installed the HomeAssistant Companion "iOS" app on macOS today, the source dropdown for my receiver is stuck open (and also z-indexed wrong) on all devices/browsers
(I may also have updated core around this time, but that is not my explicit memory)
(Both with ios theme like pictured but also when reverting to Default material styles )
I have a ~decent background in web tech so I thought I could scratch my own itch here, but I admit I'm at a loss. (Polymer / Web Components generally and Lovelace work specifically are new to me)
In particular, I have not IDed what styles or events are/were ever responsible for keeping this from painting (the
paper-listbox
) all the time. Nor can I seem to find the handlers that would show/hide it on click 😅 .The most relevant invoked thing seems to be iron-selector?
If so, this StackOverflow answer seemed relevant / like the sort of subtle change that could sneak through: https://stackoverflow.com/questions/35817951/polymer-iron-select-fires-on-element-load
but my naive attempt to
s/@iron-select/@iron-activate/
did not do the tricknor did trying pulling in a build of the current
dev
branch of this cardIf anyone more well versed in Lovelace land wanted to guess or point me in the right direction, I'd appreciate it