`paper-dropdown-menu` custom element doesnt work anymore with lazy loading
See original GitHub issueChecklist:
- I updated to the latest version available
- I cleared the cache of my browser
Release with the issue:
As of HA 0.115, most custom elements are lazy loaded so using paper-dropdown-menu
doesn’t work anymore.
**Last working release (if known):0.114
Browser and Operating System: chrome/windows 10
Description of problem:
- make a new panel with only this boilerplate card
- open editor - dropdown will be broken
- if something internal to HA loads the
paper-dropdown-menu
element (ie from state table) then this will work just fine since the js chuck will be loaded with the elements needed.
Additional information:
Need to find a way to trigger loading of custom elements from custom cards so we can use custom elements such as paper-dropdown-menu
in custom cards again. Similar behavior for ha-checkbox
, ha-color-picker
, etc
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
paper-dropdown-menu not working in a lit-element
To start, this problem only happens when using paper-dropdown-menu (with paper-listbox inside) in a lit-element . We're using the component in ...
Read more >Custom Cards: Create a method that can import HA Elements ...
E.g. the paper-dropdown-menu is rendered as a list until you open a page ... I want to either get this going or you...
Read more >Polymer/web-component-tester - Gitter
I'm trying to show/hide a div but it doesn't seem to work ... is there a way to lazy-load imports of custom elements....
Read more >PolymerElements/paper-dropdown-menu - webcomponents.org
A Material Design browser select element ... paper-dropdown-menu-light.js, 20.3 kB, application/javascript. paper-dropdown-menu-shared-styles.d.ts, 268 B ...
Read more >PySimpleGUI
So don't be fooled into thinking PySimpleGUIQt is barely working or doesn't have many widgets to choose from. You even get TWO "Bonus...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would use the official importer coming in v0.116.
Fixed in https://github.com/custom-cards/boilerplate-card/releases/tag/1.2.0