Skip to content
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

Reduce amount of unwanted automatic space insertions #576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Helium314
Copy link
Contributor

These are solutions for the issues I commented on in #564 (comment)

@kaysond
Copy link

kaysond commented Mar 23, 2022

So I came across this while trying to figure out why the heck selecting a suggestion does notnadd a space after it only to realize that its invisible... Is there a reason for doing that instead of adding an actual space? If punctuation is the next character you could just delete the space

@Helium314
Copy link
Contributor Author

If punctuation is the next character you could just delete the space

This would be bad if someone for whatever reason decides to insert spaces manually at unusual positions, e.g. trying to write space .. The result would be that on typing . the text would change to space., forcing the user to correct it.

Another reason to not insert the space may be that some input fields may not deal well with an extra trailing space, like when entering the user name in a login field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants