-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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(segment): prevent flickering for scrollable on iOS #29884
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Co-authored-by: rostislavcz <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix looks good! 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix looks good!
Solving this problem itself caused another problem. |
Hello @ZanogeaDumitru! Please open a new issue with a repro so we can look at it as soon as possible. Thanks! |
Issue number: resolves #29523
What is the current behavior?
The scrollable segment flickers on iOS physical devices or simulators when the active button is near the edge of the screen. The jump is due to the button being scrolled to the center and snaps back to the edge since the button was scrolled past the container.
What is the new behavior?
scrollTo
provides for a smoother transition.Does this introduce a breaking change?
Other information
Dev build: 8.3.2-dev.11726779768.16e1f1d2
How to test:
md
since it's easier to see the flicker