Open Issues Need Help
View All on GitHub Web Development • UI Libraries/Frameworks
Shadow DOM styles not working in dev mode 28 days ago
AI Summary: Debug and fix a bug in the `svelte-retag` library where styles within a Svelte component using shadow DOM are not applied correctly in development mode, while working correctly in production. The issue is related to Vite's default behavior of appending styles to `document.head`. The solution likely involves adjusting how styles are injected into the shadow DOM during development to avoid conflicts with Vite.
Complexity:
4/5
bug help wanted shadow dom
Light DOM custom element wrapper for Svelte 3 and 4 with slots, context and Vite HMR support
JavaScript
#context#custom-elements#hmr#slots#svelte#web-components