yairEO/tagify

appendTarget hiding/selecting issues for shadowdom

Offen

#1.390 geöffnet am 17.10.2024

 (4 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)HTML (456 Forks)github user discovery
Help wantedSuggestion

Repository-Metriken

Stars
 (3.880 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Prerequisites

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

💥 Demo Page

I can do it in some days, i need some time to build a simple lit element for this.

Explanation

  • What is the expected behavior?

There are a lot of document.body checks in the code which doesn't work in shadowdom. It should be the appendTarget element:

https://github.com/yairEO/tagify/blob/master/src/parts/dropdown.js#L155 https://github.com/yairEO/tagify/blob/master/src/parts/dropdown.js#L218

  • What is happening instead?

Checking in the document.body instead of appendTarget

  • What error message are you getting?

A lot of glitches.

Contributor Guide