Skip to content

How to make radix components ignore transitions #1899

Answered by andy-hook
fescherer asked this question in Help
Discussion options

You must be logged in to vote

@ofelipescherer this is because you're targeting all possible transition-able properties (including Radix positioning transforms), if you want to keep the effect you should target only the values modified by your theme (commonly color and background-color).

Personally speaking I would avoid this effect entirely, from experience you're going to run into problems where even the above properties will transition unexpectedly, you'll also incur performance costs and tastefully speaking an instant flip just feels better imo.

Hope this helps

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@fescherer
Comment options

Answer selected by fescherer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants