Skip to content

Look into why custom web components don't work #4

Description

@girtsf

Reference: https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements

Autonomous custom elements seem to work, but customized built-in elements don't. From a quick test, looks like https://github.com/AFASSoftware/maquette/blob/284c7d80b9ac9fcd7125fc9483aa5614ff9b6080/src/projection.ts#L307 might be at fault - we need to call createElement with {is: vnode.properties.is} at creation time, and it doesn't work if it gets updated later. Maybe create a repro case & file a bug in Maquette?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions