Open
Bug 549917
Opened 15 years ago
Updated 3 years ago
javascript insertText to a textarea will make the textarea scroll it content to top
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: elim.qiu, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5
Build Identifier: 3.6
Everytime my javascript function inserts some text to the textarea will cause it scroll its content to the beginning of the content. This is annoying when the text in the textarea is quite long especially when editing a post in a forum.
I have a test account tester/tester at http://mathtoc.yi.org where a subforum 'test area' can accept tester's posts.
Reproducible: Always
Steps to Reproduce:
1. Login as tester and go the the 'test area' subforum
2. open a post to edit, go to the very bottom of the content in the textare and click any blue button in the editor's tool bar
3. If necessary, type something to make the text in the textarea longer enough
Actual Results:
The textarea will not focus on where the editing occurs but scrolls the text to the beginning.
Expected Results:
The textarea should always focus on where the editing occurs.
Other browsers have expected results.
![]() |
||
Comment 1•15 years ago
|
||
> 1. Login as tester and go the the 'test area' subforum
How exactly does one do the "log in" part there, especially if one does not read cjk characters?
![]() |
||
Comment 2•15 years ago
|
||
And are you perhaps just seeing bug 231389?
Assignee | ||
Updated•6 years ago
|
Component: Event Handling → User events and focus handling
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•