Skip to content
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

TypeError: mediaQueryList is not a function. #2656

Open
GianniVullo opened this issue May 14, 2024 · 0 comments
Open

TypeError: mediaQueryList is not a function. #2656

GianniVullo opened this issue May 14, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@GianniVullo
Copy link

GianniVullo commented May 14, 2024

Current Behavior

mediaQueryList API makes skeleton bug on MacBook from 2012.

Expected Behavior

make use of another API or maybe wrap it in a try catch statement and then choosing a default behavior for reducedmotion ? I'm not sure what's the best strat here

Steps To Reproduce

  1. Using a macOs Catalina machine
  2. Using Tauri with SvelteKit and Skeleton Ui
  3. initialize everything as described in the doc.
  4. Add Toast and Modal
  5. typeError:mediaQueryList.addEventListener is not a function

Link to Reproduction / Stackblitz

No response

More Information

No response

@GianniVullo GianniVullo added the bug Something isn't working label May 14, 2024
@endigo9740 endigo9740 added this to the v2.0 milestone May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants