-
Notifications
You must be signed in to change notification settings - Fork 128
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
Textarea bug when a line is preceded by new line #336
Comments
I'd recommend first trying it with libgdx's |
Yes, I've tried with Scene2D's |
So fixing this requires syncing sources of |
I've look at commits in libGDX and I've found that with this two the issue is fixed: libgdx/libgdx@c2d2313#diff-81602c9f8b4b94e2ec22c65427fbd35b and libgdx/libgdx@b0d8a2b#diff-81602c9f8b4b94e2ec22c65427fbd35b There are also a lot of other commits that might be good (or not) for VisUI too, however I don't know if they may affects others |
Looks like you already figured it out. I'd prefer a PR with those two fixes. |
I've create a very simple textarea without any special stuff:
But I've a strange bug when I start typing after a new line. As you can see from the GIF, the cursor does not arrives at the end of the line, this is not just a visual bug, but causes also many crashes of that kind during selection or clicks in the textarea.
Or this
I already use a mono spaced font generated from a TTF. Could you help me to identify the cause of that bug? Unfortunately, in test window I connot reproduce it.
The text was updated successfully, but these errors were encountered: