Opened 15 years ago

Closed 15 years ago

Last modified 11 years ago

#2670 closed defect (fixed)

Height On ComboBox breaks if list data is not single line or blank

Reported by: [email protected] Owned by: haysmark
Priority: blocker Milestone: 0.9beta
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:


The height of the list is calculated based on the first child, so If you've got as your fist child in the list a blank item (yeah, i marked the bug as low) the list won't render with the correct height (too small). If you're first item wraps (takes up two lines) render too large.

Change History (5)

comment:1 Changed 15 years ago by Douglas Hays

Component: GeneralWidgets
Owner: changed from anonymous to [email protected]

comment:2 Changed 15 years ago by haysmark

Owner: changed from [email protected] to haysmark

comment:3 Changed 15 years ago by haysmark

Component: WidgetsDijit
Milestone: 0.9beta
Priority: lowhighest
severity: minornormal

comment:4 Changed 15 years ago by Douglas Hays

Resolution: fixed
Status: newclosed

(In [8833]) Fixes #2670. Proxy commit for haysmark. Move the height calculation code of AutoCompleterMenu? to placeOnScreen. Added new w and h attributes to the returned object in placeOnScreen. These attributes give the maximum viewable size of the popup given its calculated position. PopupManager?.openAround returns the best fit object from placeOnScreenAroundElement. Rewrote pageup/down in AutoCompleterMenu? to actually page up and down depending on how big the popup is.

comment:5 Changed 11 years ago by bill

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