-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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] Text is nondeterministically rendered on one line #1459
Comments
These are |
This was a consequence of the text multithreading crash fix. I landed a fix for this yesterday, but it must have just missed the branch cut. |
That's great to hear. I'll close this out. |
I'm seeing this with master still (up to and including the June 10 sync). Once I tap the screen the text reflows properly but occasionally it is rendered all on one line. |
Is this only happening for you when the screen is rotated / RCTRootView is resized? If so, I have a fix. If not, can you provide steps to reproduce? |
No screen rotation. The root view is smaller than the screen, but it isn't resized after its initial layout is computed... maybe there's a race condition where the content is rendered and then the root view is laid out. |
Possibly. I landed a fix for the rotation issue anyway. Once it hits Github, let me know if it's fixed. If not, a sample app to repro the issue would be super-helpful. |
I haven't seen this in the past couple of weeks. Closing it out. |
After the Friday sync (though the Thursday sync could be to blame too), this text rendering bug appeared where text that should wrap was rendered on a single line. Notably the layout of the screen is correct, it's just the text drawing that's wrong. Refreshing the bridge and root view made the issue go away.
Screenshot (drop shadow was applied after screenshotting):
cc @nicklockwood
The text was updated successfully, but these errors were encountered: