Closed Bug 291683 Opened 20 years ago Closed 20 years ago

Textarea caret incorrectly positioned on mouseclick

Categories

(Core :: Layout: Form Controls, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 290469

People

(Reporter: mark-bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050417 Firefox/1.0+ Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050417 Firefox/1.0+ When entering text into a texarea in a form (such as this one in Bugzilla), if you have several paragraphs of text and a vertical scrollbar, it appears that clicking beyond the end of the text on a give line, takes the caret to another (the wrong) line if the scrollbar is anywhere other than the top. I'm trying to reproduce this problem here in bugzilla. It appears that the requirements are: 1. Textarea has a scrollbar 2. Scrollbar is not at the top 3. Mouse clicked beyond the end of text on a given line Reproducible: Always Steps to Reproduce: 1. Enter lots of text in a textarea 2. Make sure it has a vertical scrollbar not at the top 3. Click beyond the end of a line Actual Results: The caret moves to another line some way above the one that was clicked on Expected Results: The caret moves to the end of the line that was clicked on
I just tried it by pasting some Lorem Ipsum into this textbox... When I click in some wrapped whitespace the cursor and caret work like they usually do.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050422 Firefox/1.0+ WFM. This bug is covered by bug 290469 and so is marked a dupe of it. Mark, can you try a more recent build to confirm that this bug has been solved for you? *** This bug has been marked as a duplicate of 290469 *** *** This bug has been marked as a duplicate of 290469 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.