Height On ComboBox breaks if list data is not single line or blank
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)
Component: |
General →
Widgets
|
Owner: |
changed from anonymous to haysmark@…
|
Owner: |
changed from haysmark@… to haysmark
|
Component: |
Widgets →
Dijit
|
Milestone: |
→ 0.9beta
|
Priority: |
low →
highest
|
severity: |
minor →
normal
|
Version: |
0.4.2 →
0.9
|
Resolution: |
→ fixed
|
Status: |
new →
closed
|
Component: |
Dijit →
Dijit - Form
|
(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.