selection control's scrollbar does not work properly




16 years ago
9 years ago


(Reporter: zach, Unassigned)


Windows 2000

Firefox Tracking Flags

(Not tracked)




16 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030408
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4b) Gecko/20030408

1. In the case that a list to be selected is longer than the select control:
When moving the vertical srollbar by mouse to the bottom of the list the last
item is not shown. Movement with keyboard arrows works.
2. Movement with arrows down from the top of the list causes causes crazy
jumping of the whole list. But maybe it is purposely as it occurs about in the
middle of the list.

Reproducible: Always

Steps to Reproduce:
1. create a selection with a selection list longer than the control
2. move bottom the vertical scroolbar

Actual Results:  
The last line of the list is not shown

Expected Results:  
Show the last line :-)

The definition of the select:

<select name="_ctl0:_ctl2:_ctl5" class="ListBox" size="10" multiple="multiple">

The style:

   width: 15em
OK, with some font sizes I can see that the bottom line of a listbox can't be
scrolled entirely into view using the scrollbar buttons.

However, I don't see any sort "jumping around". Can you be more specific?
Assignee: form → roc+moz
Ever confirmed: true

Comment 2

16 years ago
OK, for example: 
I  have a list box (with a view of size 10 items) with 5 items in it. When I
move the selection cursor down (with keyboard arrows) from the 1st item to the
3rd one, the whole view is scrolled up by 1 item. 
There is a very similar situation in the view with larger number of items than
the view size...
QA Contact: desale → layout.form-controls
You need to log in before you can comment on or make changes to this bug.