Unusual cursor position/traveling at line end of multi line paragraph (content editable)
Categories
(Core :: DOM: Editor, defect)
Tracking
()
People
(Reporter: mtimmermann, Unassigned)
Details
Attachments
(1 file)
|
553 bytes,
text/html
|
Details |
Steps to reproduce:
I am using content editable in div and p elements. When having multi line paragraphs (automatic line break at the end), the cursor positioning / traveling is unusual at the end of an automatically wrapped line.
Steps to reproduce:
- Open the attached html file
- It's a single paragraph which should break into multiple lines, Make browser window smaller if not.
- Place the caret behind the last 'real' character of the first line, means in front of the last space
- Press cursor-right
- Press cursor-right again
Actual results:
After the first cursor-right, the caret blinks at the end of the line (behind the space). After the next cursor-right, it blinks at the beginning of the next line. This is totally unexpected, because both positions are logically the same.
Expected results:
After the first cursor-right, the caret blinks at the beginning of the next line. After the next cursor-right, it blinks behind the first character of that line.
Only Firefox behaves like described in "Actual results", while all other browsers (and word processors) behave like in "Expected results".
Please note that this is a regression in Firefox. Worked as expected when I used that in 2019, irrc.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::DOM: Editor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•3 years ago
|
This could be caused by a number of factors, such as a problem with the mouse or touchpad, a software issue with the operating system or text editor, or a configuration setting that is causing the cursor to behave unexpectedly. Some possible solutions include checking for updates to the operating system and any relevant software, adjusting cursor settings in the control panel or settings menu, and checking for any conflicting software or settings that may be causing the issue. If the problem persists, it may be necessary to seek help from technical support or a qualified technician.
If you are experiencing unusual cursor behavior, such as it traveling to the end of a line or paragraph when you are typing, it could be caused by a hardware or software issue. Here are some things you can try to troubleshoot the issue:
Check your touchpad or mouse settings: Make sure that the touchpad or mouse is configured correctly and that the cursor speed is set to your preference. Also, check for any touchpad or mouse driver updates.
Check for software updates: Make sure that your operating system and any relevant software, such as text editors, are up to date.
Check for conflicting software: Make sure that there is no other software running that could be conflicting with your cursor settings, such as accessibility software.
Check for malware: Make sure your computer does not have any malware that could be affecting your cursor.
Check your keyboard setting: Sometimes the problem is caused by a sticky key or filter key that you have activated.
If none of these steps solve the issue, you may need to seek help from technical support or a qualified technician. In some cases, it may be a hardware issue that requires repairs or replacement of the touchpad or mouse. See more to visit https://www.reserval.com/
| Reporter | ||
Comment 3•2 years ago
|
||
The issue still exists, and I guess the lengthy comment from wakeel was just placed here to add the advertisement url which is totally irrelevant to this bug or to Mozilla / Firefox.
Some admin should remove the comment from wakeel.
Description
•