Opened 13 years ago

Closed 13 years ago

Last modified 9 years ago

#2670 closed defect (fixed)

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

Reported by: ialpert@… Owned by: haysmark
Priority: blocker Milestone: 0.9beta
Component: Dijit - Form Version: 0.9
Keywords: Cc:
Blocked By: Blocking:

Description

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 13 years ago by Douglas Hays

Component: GeneralWidgets
Owner: changed from anonymous to haysmark@…

comment:2 Changed 13 years ago by haysmark

Owner: changed from haysmark@… to haysmark

comment:3 Changed 13 years ago by haysmark

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

comment:4 Changed 13 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 9 years ago by bill

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