Percy is not rendering custom web components #540
-
We're using storybook to document custom Web Components developed with Lit. Tried both to Any help would be appreciated |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @Th3S4mur41! You'll want to enable JavaScript: https://docs.percy.io/docs/storybook#unexpected-diffs Percy can't serialize the shadow DOM due to a lack of web APIs to support it: percy/cli#280 (comment) thankfully this is the storybook SDK so enabling JavaScript will work just fine. |
Beta Was this translation helpful? Give feedback.
Hey @Th3S4mur41! You'll want to enable JavaScript: https://docs.percy.io/docs/storybook#unexpected-diffs
Percy can't serialize the shadow DOM due to a lack of web APIs to support it: percy/cli#280 (comment) thankfully this is the storybook SDK so enabling JavaScript will work just fine.