-
Notifications
You must be signed in to change notification settings - Fork 27.2k
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
Scrollable TabBar display bug in --release build #23339
Comments
This is a race between the embedder providing the viewport dimensions and the TabBar widget calculating the scroll offset. The embedder may initially claim that the viewport has zero width/height, and if the TabBar framework code runs before the real values arrive then the resulting offset will be wrong. The framework does not appear to recalculate the offset when the viewport metrics are updated. |
how to solve this problem |
this problem also happed to me, not solved |
我碰到这个bug, 思考了两个多星期,通过qq群问人,有人通过 添加动画来 规避 这个bug。 |
upgrade newest flutter sdk ,It is solved |
Based on #23339 (comment) I'm going to close this issue. If there's still a problem, please reopen it. |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Hello. There is a problem with the display of the Scrollable TabBar in --release assemblies. I took the sample code from the official documentation, made 5 tabs and got the result as in the screenshot. The first tab is partially outside the left edge of the screen. There is no problem in the --debug build.
Code main.dart
Logs
Screenshot
The text was updated successfully, but these errors were encountered: