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
Describe the bug
When using this polyfill (>= v3.0.4) Safari throws a SyntaxError: The string did not match the expected pattern. which results in not applying any styles.
I can only reproduce this error when using the polyfill with twind. So it could also be a bug of twind but it works with [email protected] so I'm not really sure.
Expected behavior
To not throw SyntaxError: The string did not match the expected pattern.
Desktop (please complete the following information):
OS: [macOS]
Browser [safari]
Version [15.4]
Additional context
This error only occurs when using with twind so I'm not entirely sure which package is to blame 🤷♂️
It is working up until version 3.0.3 of construct-style-sheets-polyfill.
The text was updated successfully, but these errors were encountered:
@konstantinkreft
Hello,
I am a senior at Clemson University completing a Bachelor's in Computer Science. Would I be able to help assist in this Issue? For my final assignment I need to contribute to an active repository and I believe I would be a good resource for this issue as I have good experience in React.
@PlusUltra404 Yeah, I'd be happy to field a PR from this. Let me know if you need anything including help in figuring out what's going on. I think I might know (hint there's a former PR or issue that might be related).
Describe the bug
When using this polyfill (
>= v3.0.4
) Safari throws aSyntaxError: The string did not match the expected pattern.
which results in not applying any styles.I can only reproduce this error when using the polyfill with twind. So it could also be a bug of twind but it works with
[email protected]
so I'm not really sure.Safari is highlighting these lines in the error.
construct-style-sheets/src/ConstructedStyleSheet.ts
Lines 133 to 135 in e6c5177
To Reproduce
Steps to reproduce the behavior:
Preview with error in console
CodeSandbox
Expected behavior
To not throw
SyntaxError: The string did not match the expected pattern.
Desktop (please complete the following information):
Additional context
This error only occurs when using with twind so I'm not entirely sure which package is to blame 🤷♂️
It is working up until version
3.0.3
ofconstruct-style-sheets-polyfill
.The text was updated successfully, but these errors were encountered: