Skip to main content

Search and Top Navigation

#4154 closed bug (worksforme)

Opened February 16, 2009 06:00AM UTC

Closed February 06, 2010 01:43AM UTC

Large form select options scroll broken

Reported by: logsdonj Owned by:
Priority: major Milestone: 1.8
Component: ui.dialog Version: 1.6rc6
Keywords: dialog, form, select, option Cc:
Blocked by: Blocking:
Description

When scrolling through large form select options (like a list of countries or states) and clicking an option, the list immediately scrolls to the top of the options and makes a selection from the that area instead.

It looks like the click, change, or scroll events are being intercepted after user input or the selected index is incorrect in UI. By testing on click and change, I was able to see that a click event returned the correct selected value and the change event returned the incorrect selected value as described above.

To give a better visual with a short list, imaging seeing A, B, and C as form select options. Then you scroll down to see D, E, F. When you click on E, the options scroll back to the top and B is selected.

Attachments (0)
Change History (4)

Changed February 17, 2009 12:00PM UTC by jzaefferer comment:1

milestone: TBD1.6

Changed February 18, 2009 04:04AM UTC by logsdonj comment:2

I was able to track my particular issue down to Line 2144 of 1.6rc6.

The dialog mousedown calling

self.moveToTop(event);

is causing this issue for me. After commenting it out my select drop-down worked and selected as expected. I am not sure of other repercussions of this though.

Changed March 08, 2009 02:38PM UTC by rdworth comment:3

milestone: 1.71.8

Changed February 06, 2010 01:43AM UTC by Rwhitbeck comment:4

resolution: → worksforme
status: newclosed

Tried to replicate in 1.8rc1 and it worked as expected.

http://jsbin.com/arumo/3