Open
Bug 140077
Opened 23 years ago
Updated 4 years ago
Scroll lost after a text field is processed by Javascript
Categories
(Core :: DOM: Selection, defect, P5)
Core
DOM: Selection
Tracking
()
NEW
Future
People
(Reporter: msgport, Unassigned)
Details
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0rc1) Gecko/20020425
BuildID: 2002042506
In some of the BBS system, user are able to click on some emoticons and the
Javascript will add the 'code' for the emoticons to the content field. However
after adding, the input caret will be position at the first character and if the
input is now scrolling at a bottom part, the scroll will also lost and focus
will be on the first line.
Reproducible: Always
Steps to Reproduce:
1. Create a multi text input
2. Make a javascript button that add some characters to the text input
3. Load the page
4. Type something and make sure the scrollbar (vertical) appears and scroll
focus is currently at lower position.
5. Click on the javascript button.
Actual Results: Javascript add the text to the textbox, but scroll is lost
Expected Results: The scroll position should be maintained.
![]() |
||
Comment 1•23 years ago
|
||
To selection.
Assignee: Matti → mjudge
Status: UNCONFIRMED → NEW
Component: Browser-General → Selection
Ever confirmed: true
OS: Windows 98 → All
QA Contact: imajes-qa → tpreston
Hardware: PC → All
Updated•23 years ago
|
Target Milestone: --- → mozilla1.1alpha
Updated•16 years ago
|
Assignee: mjudge → nobody
QA Contact: tpreston → selection
Comment 3•4 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: minor → S4
Priority: -- → P5
You need to log in
before you can comment on or make changes to this bug.
Description
•