-
Notifications
You must be signed in to change notification settings - Fork 2
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
Deletion error in text #102
Deletion error in text #102
Comments
In most cases this is actually intended behavior, because usually you don't want any leading or trailing whitespace. Is there something special about the quizzes (or any other feature) where it makes sense to have leading/trailing whitespace? For the second point, I was not able to reproduce that. Maybe this has already been fixed? |
for reproduction: 2024-09-02-18-08-23.mp4 |
Normal people just press the delete button several times to delete the space, which no longer exists at that time |
For the generation, it was very weird, that deleting a space would delete 2 characters. |
Ah, I see, thanks for the clarification! But that does not mean that we have to get rid of trimming entirely, right? We only have to make sure that trimming only happens when the user explicitly leaves the form field or submits the form, not while editing the text. |
Bootstrap Academy username
Morpheus
Contact Details
No response
What browsers are you seeing the problem on?
No response
What happened?
When creating a quiz the following happens in the text field:
Typing and then deleting a word (eg "hello world" and then deleting "world") results in the space before the deleted word also being deleted.
This needs to be prevented - why would we always want to delete the space?
Also: When clicking into a text field, it will always move the cursor to the very end. Which is again not intentional and does not provide benefit.
But I do have a feeling, this is connected to how the 2FA Input-Field works, so keep that in mind when testing!
The text was updated successfully, but these errors were encountered: