-
-
Notifications
You must be signed in to change notification settings - Fork 242
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
Text flickering #46
Comments
@n3o2k7i8ch5 Do you have an idea how to solve this? |
@leisim and @n3o2k7i8ch5 I'm having the same problem here. |
If I'm not mistaken, the cause is the following:
|
Any workaround ? |
Having a similar situation with [Image, SizedBox, AutoSizeText, SizedBox, AutoSizeText, SizedBox] in a horizontal, Instagram-like user profile. In my situation, the only most-left text is flickering and only when Image is tapped or page is refreshed via RefreshIndicator. Really weird. |
Did anyone find a working workaround? EDIT: for me, setting presetFontSizes did the job. My preferred fontSize is 14, my presetFontSizes are [11, 12, 13, 14] and the flickering no longer occurs. |
Not yet =( |
Steps to Reproduce
The bug is caused by the inability to set a text size, when two AutoSizeText with the same AutoSizeTextGroup with certain parameters (as in sample code) are horizontally next to each other. Depending on the screen size, this results in a sort of text size flickering (in reality this flickering is much much faster, but the GIF has a low FPS).
The sample code is an app, to reproduce the bug just run it.
As mentioned above, to reproduce the bug on a specific screen size, the text length of the longest line in one of the AutoSizeTexts may need to be changed.
Code sample
Screenshots
Version
The text was updated successfully, but these errors were encountered: