-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
fix: fix merge style func #11971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: fix merge style func #11971
Conversation
🦋 Changeset detectedLatest commit: db8bea7 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
What is this fixing? |
I had a problem when using the Shiki Magic Move package (https://github.com/shikijs/shiki-magic-move/blob/main/src/svelte/ShikiMagicMoveRenderer.svelte). In the style attribute on the first render comes undefined. That's the reason I'm getting the error:
![]() |
Are you able to add a test (or reproduce the bug in https://svelte-5-preview.vercel.app/)? |
Ah this seems to be enough to reproduce it, but only in SSR (so not in the REPL) <span style:color="red" style={null}>test</span> |
thanks! |
Before submitting the PR, please make sure you do the following
feat:
,fix:
,chore:
, ordocs:
.Tests and linting
pnpm test
and lint the project withpnpm lint