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
Empty style tag added to head on menu open/close #78
Comments
Please hold off on this one until #41 is completed and merged. |
I have seen this same behavior for things like the lightswitch and accordion, but Not sure how many components overlap under the hood |
Good to know it's happening with the accordion too. VERY strange bug, but two things of note:
FYI I'll be implementing a PR for updating to the next.405+ version of SvelteKit today, so I'll try remember to check this as I test! |
Roger, I will note my project is Current with SvelteKit. |
FYI I've confirmed the following:
Given this, I'll turn my attention to the Menu and LightSwitch components. |
I was under the impression the LightSwitch was at fault here, so I've opted to refactor and redesign this a bit. It now looks and operates a lot like the versions on these sites: Unfortunately this has not solved the problem with the HTML head style blocks being duplicated, however this now only occurs when interacting with Menu components. I'll turn my attention to to the Menu components tomorrow. |
Keeping this open to address the Menu updates mentioned in the comment above. |
Finally came across this and identified it's the transition directive that's causing this to occur. We use transition on several components, including Menus, Alerts, etc. Gonna mark this CLOSED as I don't believe it's an issue we can fix on our end. I'd suggest we report it to Svelte if we can identify any negative impact from this. |
When opening or closing a menu, an empty style tag is added to the head.
STR:
The text was updated successfully, but these errors were encountered: