-
Notifications
You must be signed in to change notification settings - Fork 85
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 doesn't re-wrap on width change #84
Comments
Looks like this issue is a regression caused by a layout manager replacement happening in |
@thecoolwinter - can you assign this one to me? knocking it out in tandem with CodeEditApp/CodeEditTextView#66, and CodeEditApp/CodeEdit#868. |
For sure! Make sure to mention the issues in any PRs you make too. |
Fixed with #105. Thanks Ben! |
Description
When changing the width of the view the text won't unwrap or wrap lines as the width changes. However, if you scroll away from the text and scroll back to it, it is laid out correctly.
This might just require forcing a layout when the view's width changes.
To reproduce
Expected Behavior
The lines should update as the view width changes, instead of needing a scroll to re-layout.
Additional Context
Screen.Recording.2022-10-27.at.10.17.41.PM.mov
Relate Issues
This issue should be worked on with the above issue.
The text was updated successfully, but these errors were encountered: