Commit e62fe70
committed
fix(Menubar): Move shadow root setup to connectedCallback
The custom element spec forbids inspecting children or attaching a
shadow root in the constructor, which prevents the element from being
cloned. Moving the template lookup and shadow root attachment to
connectedCallback aligns Menubar with the other custom elements on
this branch.1 parent 97465c6 commit e62fe70
1 file changed
Lines changed: 1 addition & 5 deletions
File tree
- app/views/alchemy
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
| 117 | + | |
119 | 118 | | |
120 | 119 | | |
121 | 120 | | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
| |||
0 commit comments