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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

addEventListener is not implemented in older versions of Safari. #395

Open
anson0370 opened this issue Apr 5, 2024 · 0 comments 路 May be fixed by #411
Open

addEventListener is not implemented in older versions of Safari. #395

anson0370 opened this issue Apr 5, 2024 · 0 comments 路 May be fixed by #411

Comments

@anson0370
Copy link

Describe the feature / bug 馃摑:

Strictly speaking, it's not a bug but a compatibility issue. window.matchMedia().addEventListener does not exist in Safari versions less than 5.0.
next-themes has addressed this issue by using the now deprecated addListener API. pacocoursey/next-themes#24
I'm not sure if you think this issue needs to be resolved?

Steps to reproduce the bug 馃攣:

  1. Use sonner in Safari versions less than 5.0.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant