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

In version 3.1.0, some bugs was encountered in safariI browser. #113

Open
dntzhang opened this issue Jul 10, 2022 · 5 comments
Open

In version 3.1.0, some bugs was encountered in safariI browser. #113

dntzhang opened this issue Jul 10, 2022 · 5 comments

Comments

@dntzhang
Copy link

image

image

image

@dntzhang dntzhang changed the title Error v3.1.0 in safari In version 3.1.0, some bugs was encountered in safariI browser. Jul 10, 2022
@dntzhang
Copy link
Author

Tencent/omi@4c50c94

@dntzhang
Copy link
Author

dntzhang commented Jul 10, 2022

Tencent/omi@ff35f86

<=v3.0.1  ok
>v3.0.1  error

@alexabreu
Copy link

alexabreu commented Aug 11, 2022

I'm also encountering Safari issues. Specifically, it seems the polyfill is not being recognized as aTypeError: Illegal constructor error is being thrown when invoking new CSSStyleSheet(). However, Firefox works as intended. I noticed that there are some extra steps to make the polyfill work for IE11. Are similar steps required for Safari? I tried downgrading as suggested above, but had no luck.

Update: I wasn't properly importing the polyfill module, hence the error in Safari. I can also now confirm the Safari SyntaxErrors described aboved when using 3.1.0. Downgrading to 3.0.1 does seem to prevent the errors.

@calebdwilliams
Copy link
Owner

@dntzhang/@alexabreu could you provide the text you're passing in that might be causing this issue? I haven't seen anything on my end.

@konstantinkreft
Copy link

This is a duplicate of #110.

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

4 participants