Konva in the shadow DOM? #1170
Answered
by
lavrton
domnikmack
asked this question in
Q&A
-
Trying to use Konva in combination with a Stenciljs component with shadow set to true. When using the default way of creating a stage, the element set as container cannot be found as expected. Any suggestions? Workarounds? |
Beta Was this translation helpful? Give feedback.
Answered by
lavrton
Aug 31, 2021
Replies: 1 comment 1 reply
-
How do you set container for stage? You can just pass DOM dev element as |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
lavrton
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How do you set container for stage? You can just pass DOM dev element as
container
attributes. I guess you should have access to that DOM element inside shadow DOM scope.