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
The new svelte MediaQuery class from svelte/reactivity does not work with media queries with not all or multiple conditions.
For example not all and (min-width: 900px) and (max-width: 599px), (min-width: 900px) are both not working as intended, it appears thats since MediaQuery always wraps the query in parentheses it breaks some queries.
Describe the bug
The new svelte MediaQuery class from
svelte/reactivity
does not work with media queries withnot all
or multiple conditions.For example
not all and (min-width: 900px)
and(max-width: 599px), (min-width: 900px)
are both not working as intended, it appears thats sinceMediaQuery
always wraps the query in parentheses it breaks some queries.Reproduction
https://svelte.dev/playground/ec93d95e0c63434d9ba67439e4afe011?version=5.11.2
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: