You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to view the production search app in Chrome, the custom <search-app> element was present in the source but not being rendered. There were no errors reported in the console. Testing locally, I removed the type="module" from the search app import in head.html, reloaded and saw Chrome complain in the console:
Uncaught DOMException: Failed to construct 'CustomElement': The result must not have attributes
When attempting to view the production search app in Chrome, the custom
<search-app>
element was present in the source but not being rendered. There were no errors reported in the console. Testing locally, I removed thetype="module"
from the search app import inhead.html
, reloaded and saw Chrome complain in the console:See: https://stackoverflow.com/questions/43836886/failed-to-construct-customelement-error-when-javascript-file-is-placed-in-head
Moving the script import from
head.html
tofoot.html
appears to fix the problem for now, but we should modify the search app to comply with the guidelines outlined here: https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformanceThe text was updated successfully, but these errors were encountered: