Replies: 2 comments
This comment was marked as spam.
This comment was marked as spam.
-
Spent a long time debugging a Potentially @starting-style fails to apply when the value that changes is inside a custom property. .starting\:translate-y-200 {
@starting-style {
--tw-translate-y: calc(var(--spacing) * 200);
translate: var(--tw-translate-x) var(--tw-translate-y);
}
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm not sure if this is a tailwind or safari bug but I ran into an issue where starting-style seems to break.
https://play.tailwindcss.com/ClQpDWz4UT
The red square is supposed to animate up to the top from the bottom. This works in Chrome and FF but not Safari 18.5.
I recreated the example with plain CSS and it works properly in Safari:
https://codepen.io/RaederDev/pen/VYLxGqx
I cannot figure out what tailwind is doing differently here or how to solve this.
Beta Was this translation helpful? Give feedback.
All reactions