-
Notifications
You must be signed in to change notification settings - Fork 375
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
[Bug?]: "A" Component causes FOUC and weird props #1038
Comments
Yeah this looks like a Solid compilation bug on the serverside class merging.. I will take a look. Albeit a reproduction will save me a ton of time. I will try to just copy the CSS shown in the anchor above. |
So Panda adds this stuff. If I was to guess it has to do with escaping.. because writing what is there works fine, but I see escaped quotes and my guess is whatever is combining this on the server is getting tripped up by it. It'd be great to see actual project and inspect what the transform is doing. |
@anubra266 adding you here since this might be beneficial to Panda configuration. @ryansolid what's also interesting is that I also created a new example project (albeit not a real world example) and it works fine. However, in my real world example that is now a large scale SS app using panda...it does exist. It's a private repo, so I can't share the link to that one or else I would. 🙈 |
@caseybaggz Is the escape thingy still an issue? |
@anubra266 from my perspective, yes - I'm still having to use a local altered version of the SS |
@caseybaggz I'm referring to the styles that were leaking to the html as props. Do you still have them? |
Yeah, that's what I was talking about. 😄 |
In setting up for SolidStart's next Beta Phase built on Nitro and Vinxi we are closing all PRs/Issues that will not be merged due to the system changing. If you feel your issue was closed by mistake. Feel free to re-open it after updating/testing against 0.4.x release. Thank you for your patience. See #1139 for more details. |
Duplicates
Latest version
Current behavior 😯
After much research migrating my SS app to use Panda-CSS I have come to find out the
A
tag is doing some weird stuff when combined with Panda CSS.When using a native
<a>
element:When using the Solid-start
<A>
Component:This compilation is causing some major FOUC on the browser rendering mentioned in the above issue.
Expected behavior 🤔
SS components should not be adding any extra props that are not from the user or enhance a11y of the component itself.
Steps to reproduce 🕹
Steps:
<A>
component with custom styles via PandaContext 🔦
This started appearing recently in my large app using the latest version of SS. I know we are moving to Astro in the future, but this is a blocker for me to publicly release my app.
Your environment 🌎
No response
The text was updated successfully, but these errors were encountered: