Opened 14 years ago

Closed 14 years ago

Last modified 11 years ago

#4482 closed defect (fixed)

[cla][patch] Combobox: dropdown height doesn't adjust as # of items changes

Reported by: guest Owned by: bill
Priority: high Milestone: 1.0
Component: Dijit - Form Version: 0.9
Keywords: ComboBox Cc: bill
Blocked By: Blocking:

Description (last modified by bill)

When the number of items in the ComboBox? dropdown changes, the height isn't adjusted. Thus can end up with a bunch of white space if the dropdown initially shows all the states and then you type in a character like "a" to limit the # of items in the list. Introduced by [10534].


Attachments (1)

popup.js.diff (434 bytes) - added by guest 14 years ago.

Download all attachments as: .zip

Change History (5)

Changed 14 years ago by guest

Attachment: popup.js.diff added

comment:1 Changed 14 years ago by bill

Owner: set to bill

Hi, I don't understand the bug description. Why do you think it should "compute the height" again, or even in the first place? What does that mean?

comment:2 Changed 14 years ago by bill

Description: modified (diff)
Summary: [cla][patch] problem with the popup height (ComboBox)[cla][patch] Combobox: dropdown height doesn't adjust as # of items changes

OK, I figured it out; updating bug description

comment:3 Changed 14 years ago by bill

Resolution: fixed
Status: newclosed

(In [10543]) When the number of elements in the drop down list changes, height wasn't being adjusted. Need to set drop down list to it's natural height so that dijit.popup can suggest a proper height setting. Fixes #4482, refs #3058.

comment:4 Changed 11 years ago by bill

Component: DijitDijit - Form
Note: See TracTickets for help on using tickets.