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

fix: remove crossfade pollution on fade in transitions #1201

Merged
merged 1 commit into from Jan 5, 2024

Conversation

stipsan
Copy link
Member

@stipsan stipsan commented Jan 5, 2024

Crossfade pollution happens when rich content and text crossfades in a transition, below is a slowed down frame-by-frame demonstrating it:

frame.by.frame.mov

The fix is to fade in the backdrop first, then the content, the video below demonstrates the before and after with a slowed down transition so it's easier to see:

toast.pollution.slomo.mov

The fix is applied to Toasts, Tooltips and Popovers.

Copy link

vercel bot commented Jan 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sanity-ui-storybook ✅ Ready (Inspect) Visit Preview Jan 5, 2024 4:21pm
sanity-ui-workshop ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 5, 2024 4:21pm

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

Successfully merging this pull request may close these issues.

None yet

1 participant