-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
Cursor always places itself in the left side of input textfields #3802
Labels
text
Issues relating to text rendering/input
Comments
@delta04, I don’t know whether this has been fixed (checked against nightly from 2023-09-06) by simply not placing the cursor when the input text is selected (before typing) and after deleting all chars from the text field. @Lord-McSweeney, since you tagged this, could you be so kind to confirm whether this has been fixed (or the issue is now not placing the cursor)? Many thanks for your help. |
I'm not sure if the cursor still places itself on the left side, even if
the textalignment is centered or right, because now the cursor does not
appear when the textfield is selected.
It also disappears when the textfield is emptied using "backspace".
I added a litte cheat-function to the flash-file, to add an empty space " "
to the textfield, when it is emptied. The empty space is removed again,
when you start typing.
I thinks it shows that the problem has something to do with the zero-or
start position of the cursor in the ruffle code.
Please see the attached
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virusfri.www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Den ons. 6. sep. 2023 kl. 17.14 skrev Pablo Rodríguez <
***@***.***>:
… @delta04 <https://github.com/delta04>, I don’t know whether this has been
fixed (checked against nightly from 2023-09-06) by simply not placing the
cursor when the input text is selected (before typing) and after deleting
all chars from the text field.
@Lord-McSweeney <https://github.com/Lord-McSweeney>, since you tagged
this, could you be so kind to confirm whether this has been fixed (or the
issue is now not placing the cursor)?
Many thanks for your help.
—
Reply to this email directly, view it on GitHub
<#3802 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ4U5RYENGSM65KNEAFLEQTXZCHMXANCNFSM4Z2X2CGA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When an input text field is selected the cursor places itself on the left side, even if the text field is centered or right aligned.
And when the text is deleted from the text field the cursor always jumps to the start position - left.
Only when a key is pressed will the cursor find its right position, - left, centered or right, - which means, that the ruffle code has got it right somewhere along the line.
Would it be possible to change the ruffle code a little, so that the left, center or right alignment works one step earlier, - i.e. at the very moment, when the text field is selected ?
textalign.zip
The text was updated successfully, but these errors were encountered: