We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have this style
details > :global(summary) { &:hover { opacity: 0.7; } }
which gets compiled to:
details.svelte-koe03u > summary { &:where(.svelte-koe03u):hover { opacity: 0.7; } }
I believe that where(...) shouldn't be there because & refers to a :global(...) selector
where(...)
&
I have tried changing &:hover to &:global(:hover) , :global(&:hover) , :global(&):hover and even wrapping it in a :global { ... } but no luck
&:hover
&:global(:hover)
:global(&:hover)
:global(&):hover
:global { ... }
REPL: https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA41QwWqEMBD9lSGUoiDaW8G1soVe9htqD66O3UCSSZO4IOK_N9HsWtpL55R58968vJnZwAVaVr7PTLUSWcletWYZc5MOjb2icOh7S6PpAlLZznDt6kY1jktNxsEbupYLC4MhCQ3Liwjkm7phjaqKXaaqOF93VHaUsjVTfRpgohEudEUDEjM4gb3QKHo4Y0cSwf_TAun2a0S_LqrWFboWZFAC1x6uCl0Hw5uJ_7ykng8ce1Y6M-KS3bNGzv_ygq-OlHUwdxcueoNqgRd40Ia0TdLD75T9PWVQzkfP7320mzZJl6DYWb6zbhIYBXEANZSfgs6tSGLmFOaNEeqx3A72Awrlz9RxN5XwlD8f9tGyPVfjzevvdT6WbxP5sawVAgAA
No response
n/a
annoyance
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Describe the bug
I have this style
which gets compiled to:
I believe that
where(...)
shouldn't be there because&
refers to a :global(...) selectorI have tried changing
&:hover
to&:global(:hover)
,:global(&:hover)
,:global(&):hover
and even wrapping it in a:global { ... }
but no luckReproduction
REPL: https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAA41QwWqEMBD9lSGUoiDaW8G1soVe9htqD66O3UCSSZO4IOK_N9HsWtpL55R58968vJnZwAVaVr7PTLUSWcletWYZc5MOjb2icOh7S6PpAlLZznDt6kY1jktNxsEbupYLC4MhCQ3Liwjkm7phjaqKXaaqOF93VHaUsjVTfRpgohEudEUDEjM4gb3QKHo4Y0cSwf_TAun2a0S_LqrWFboWZFAC1x6uCl0Hw5uJ_7ykng8ce1Y6M-KS3bNGzv_ygq-OlHUwdxcueoNqgRd40Ia0TdLD75T9PWVQzkfP7320mzZJl6DYWb6zbhIYBXEANZSfgs6tSGLmFOaNEeqx3A72Awrlz9RxN5XwlD8f9tGyPVfjzevvdT6WbxP5sawVAgAA
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: