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
So I created an index file to re-export them from, and imported all required custom components from there instead. However, I noticed that this always breaks the CSS of my navigation element, which is included in the root layout in app.tsx. I think this might be related to #1401.
It's possible to work around this by importing the components from their own files.
Let me know if the issue should be raised elsewhere instead. Thanks a lot for your excellent work on Solid!
Your environment 🌎
The text was updated successfully, but these errors were encountered:
@brenelz (@iisakkirotko) Yeah, this sounds like either a regression or an edgecase that wasn't already fixed by nksaraf/vinxi@ce13703 🙈. I recommend for now to import the components from their direct files. We are currently conceptualizing a future css solution together with Tanstack and with a bit of luck, we can skip fixing the open css bugs for the old solution 😅.
Duplicates
Latest version
Current behavior 😯
Upon navigation some CSS that should be included in the page is removed from it.
Expected behavior 🤔
The CSS is not removed, and instead kept on the page.
Steps to reproduce 🕹
Steps:
Context 🔦
I ran into an issue while building a relatively simple app today. I wanted to import my components more cleanly as
instead of
So I created an
index
file to re-export them from, and imported all required custom components from there instead. However, I noticed that this always breaks the CSS of my navigation element, which is included in the root layout inapp.tsx
. I think this might be related to #1401.It's possible to work around this by importing the components from their own files.
Let me know if the issue should be raised elsewhere instead. Thanks a lot for your excellent work on Solid!
Your environment 🌎
The text was updated successfully, but these errors were encountered: