Css from this library is leaking into (and overwriting) my css for some reason #317
Closed
einarpersson
started this conversation in
General
Replies: 1 comment
-
I updated some svelte dependencies (vite-plugin, svelte, sveltekit, svelte-multiselect, ..) which seems to have resolved this issue. Closing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I noticed a weird bug in my app, that for some reason only show up in prod and not development.
I have a stand alone
<dialog>
element and I noticed that it was visible by default contrary to what it was supposed to be. I inspected the element and saw that styles from this package was being applied, I tracked it down to this:It comes from
CmdPalette.svelte
svelte-multiselect/src/lib/CmdPalette.svelte
Line 94 in 00784f2
I have no idea why this happens or what is causing this, but I thought I should mention it. I was expecting that I'd see a
:global(
or something but no...EDIT:
I noticed that this problem does not arise when running
vite dev
but it arises when I dobuild
andpreview
!Beta Was this translation helpful? Give feedback.
All reactions