Skip to content

SlickList appendTo prop doesn't work with Shadow DOM #189

@Geloosa

Description

@Geloosa

appendTo which is a query selector string doesn't work in Shadow DOM, as there's no way to select an element inside it just by a string, but a call to shadow host element's shadowRoot is required: document.querySelector("shadowHostSelector").shadowRoot.querySelector("appendToSelector").

If appendTo could receive HTMLElement reference directly, it would solve the issue.

Here's a PR for that: #188

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