You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the newly CSS nesting syntax (e.g. &:is(a)) the ampersand gets encoded as & on server side.
This leads to missing/wrong styles until the client side javascript is executed.
Expected behavior 🤔
The server shouldn't encode the ampersand in the CSS styles.
If I understand this right the CSS files themselves are being transformed nothing to do with JS. In which case is this a Vite or Nitro issue? Because Solid/SolidStart doesn't touch CSS. Very odd if Vite has an issue you'd think it would be more known.
Duplicates
Latest version
Current behavior 😯
When using the newly CSS nesting syntax (e.g.
&:is(a)
) the ampersand gets encoded as&
on server side.This leads to missing/wrong styles until the client side javascript is executed.
Expected behavior 🤔
The server shouldn't encode the ampersand in the CSS styles.
Steps to reproduce 🕹
Use this repo for simple reproduction: https://github.com/draconisNoctis/solidstart-css-nesting-issue
Context 🔦
No response
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: