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

Undesired topbar right button animation #7951

Open
1 task done
RomanKo-wix opened this issue Dec 27, 2024 · 0 comments
Open
1 task done

Undesired topbar right button animation #7951

RomanKo-wix opened this issue Dec 27, 2024 · 0 comments

Comments

@RomanKo-wix
Copy link

RomanKo-wix commented Dec 27, 2024

What happened?

I want to update the right button title in the top bar while staying on the same screen. I'm using mergeOptions for this. The button title animates with every re-render. I can use the animateRightButtons prop to prevent the animation on each update, but the button still shakes slightly. There are two attached videos: one showing the behavior before applying animateRightButtons and the other after.

before.animateRightButtons.mov
after.animateRightButtons.mov

What was the expected behaviour?

After applying animateRightButtons prop the button becomes stable

Was it tested on latest react-native-navigation?

  • I have tested this issue on the latest react-native-navigation release and it still reproduces.

Help us reproduce this issue!

No response

In what environment did this happen?

React Native Navigation version: 7.40.3
React Native version: 0.73
Node version: 20.11.1
Device model: Pixel, Samsung
Android version: 11, 14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant