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

Swiper Element (Webcomponent) not working on Safari 16.3 #6831

Closed
5 of 6 tasks
gall0 opened this issue Jul 8, 2023 · 1 comment
Closed
5 of 6 tasks

Swiper Element (Webcomponent) not working on Safari 16.3 #6831

gall0 opened this issue Jul 8, 2023 · 1 comment

Comments

@gall0
Copy link

gall0 commented Jul 8, 2023

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/y6448d?file=%2Findex.html%3A1%2C1

Bug description

WebComponent does not load on Safari Version 16.3 or earlier because CSSStyleSheet() is not supported. The error message:

TypeError: Illegal constructor CSSStyleSheet

Expected Behavior

Swiper loads.

Actual Behavior

Swiper breaks and there is a blank screen.

Swiper version

10.0.3

Platform/Target and Browser Versions

macOS Safari 16.3

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@gall0
Copy link
Author

gall0 commented Jul 8, 2023

Screenshot 2023-07-07 at 6 21 48 PM

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

No branches or pull requests

1 participant