Closed Bug 434373 Opened 17 years ago Closed 17 years ago

keystrokes for "beggining of line" and "end of line" don't work properly on some textareas

Categories

(Firefox :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 342564

People

(Reporter: voiser, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; es-ES; rv:1.9) Gecko/2008051202 Firefox/3.0 Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; es-ES; rv:1.9) Gecko/2008051202 Firefox/3.0 In Mac OS X, the key combination for "beggining of line" is COMMAND-LEFT, and for "end of line" is COMMAND-RIGHT. These key combinations are the same for "go back" and "go forward" in history. In some cases, when editing a text area, if the user types these combinations, the browser goes back or forward. Sometimes the text entered in the text area is lost. Reproducible: Always Steps to Reproduce: 1. Log in any vBulletin and open any thread 2. At the bottom of the page, click in the Reply text area 3. Write some text 4. Type COMMAND-LEFT to go to the beginning of the text line Actual Results: Instead of moving the text cursor to the beginning of the text line, the browser goes back to the last visited page (goes back in history) Expected Results: The text cursor should move to the beginning of the text line. I have experienced this behaviour in vBulletin forums. I think that in these forums the textarea is controlled by javascript; when using a plain textarea (with no javascript), the behaviour is exactly whait it is expected.
I'm guessing these vBulletin fields are rich-text input fields (designMode or contenteditable) rather than ordinary textareas, which causes bug 342564 to surface.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.