We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
9.7.5
Animation flickers:
Nothing fancy really:
const wrapperTransitions = useTransition(isOpen, { from: { opacity: 0, scale: 0.7, }, enter: { opacity: 1, scale: 1, }, leave: { opacity: 0, scale: 0.7, }, config: config.gentle, onDestroyed: () => { if (isOpen) { return; } onDestroyed?.(); }, }); return wrapperTransitions( (props, showDialog) => showDialog && ( <Overlay> <Wrapper as={AnimatedWrapper} aria-label={ariaLabelString} style={{ transform: [{ scale: props.scale }], opacity: props.opacity, }} > <TitleAndContentWrapper> <Title>{title}</Title> <ContentWrapper>{children}</ContentWrapper> </TitleAndContentWrapper> </Wrapper> </Overlay> ), );
No flicker
Can't provide a sandbox for RN
The text was updated successfully, but these errors were encountered:
Interesting: adding
Globals.assign({ requestAnimationFrame: setImmediate, });
makes it buttery smooth again.
Warning
This workaround has a significant side effect, where animations are no longer played concurrently. This may or may not be a problem in your app.
Sorry, something went wrong.
Indeed this feels weird. As there was a desync. Maybe it is due to the new RN architecture which is now in sync ?
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Which react-spring target are you using?
@react-spring/web
@react-spring/three
@react-spring/native
@react-spring/konva
@react-spring/zdog
What version of react-spring are you using?
9.7.5
What's Wrong?
Animation flickers:
Nagranie.z.ekranu.2025-04-28.o.23.19.37.mov
To Reproduce
Nothing fancy really:
Expected Behaviour
No flicker
Link to repo
Can't provide a sandbox for RN
The text was updated successfully, but these errors were encountered: