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

Regression with inset on Safari 13 #799

Closed
TeaBough opened this issue May 15, 2023 · 1 comment
Closed

Regression with inset on Safari 13 #799

TeaBough opened this issue May 15, 2023 · 1 comment

Comments

@TeaBough
Copy link

TeaBough commented May 15, 2023

Hi !

When upgrading from twin.macro 3.1.0 to 3.3.1 I've noticed a regression in Safari 13.
With 3.1.0

tw`inset-0`

is transformed to :

top: 0;
bottom: 0;
right: 0;
left: 0;

but in 3.3.1 it is transformed to

inset: 0;

which doesn't work on Safari 13...
I don't know if the bug comes from tailwind or twin.macro... or if it's the expected behaviour. (i'm using emotion btw)

@ben-rogerson
Copy link
Owner

Hey there

This change comes from Tailwind 3.3.0 - you can test it out in their playground.

As for a fix, check out 10765 for the update - seems there's quite a bit of activity on this issue.

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

2 participants