Replies: 1 comment 1 reply
-
Hmm, I'm not sure it's possible to make this compatible with shadow DOM without a significant changes to the code base. If you are able to make it work, could I take a look at your code? |
Beta Was this translation helpful? Give feedback.
1 reply
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Currently implementing this in a project where all functionality is inside a shadow dom. There are several querySelectors calls in this project that are done with document.querySelector , and if the color picker attached inside a shadow dom they fail cause the shadow dom elements are not visible this way.
I would suggest having something like this , where the domTree option defaults to document if not set , and modifying the library querySelectors accordingly. I am down to creating a pull request for this as I will definitely be implementing this in the proj i am working on .
Beta Was this translation helpful? Give feedback.
All reactions