Ticket #4482 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

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

Reported by: guest Owned by: bill
Priority: normal Milestone: 1.0
Component: Dijit Version: 0.9
Severity: normal Keywords: ComboBox
Cc: bill

Description (last modified by bill) (diff)

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].

Nicola

Attachments

popup.js.diff (434 bytes) - added by guest 15 months ago.

Change History

Changed 15 months ago by guest

Changed 15 months 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?

Changed 15 months ago by bill

  • description modified (diff)
  • summary changed from [cla][patch] problem with the popup height (ComboBox) to [cla][patch] Combobox: dropdown height doesn't adjust as # of items changes

OK, I figured it out; updating bug description

Changed 15 months ago by bill

  • status changed from new to closed
  • resolution set to fixed

(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.

Note: See TracTickets for help on using tickets.