Search and Top Navigation
#8208 closed bug (wontfix)
Opened March 22, 2012 04:22PM UTC
Closed May 08, 2012 07:30PM UTC
Autocomplete option text flows into next line when using a scrollbar
Reported by: | hub | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.9.0 |
Component: | ui.autocomplete | Version: | 1.8.18 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When using a scrollbar and the option text / label is a little bit longer, then the text/label breaks into the next line. This behaviour does not resemble the behaviour of an ordinary select.
It is obviously due to the presence of the scrollbar: The scrollbar width seems not to be accounted for in the calculation of the width of the option menu.
Testcase:
Type "a".
Attachments (0)
Change History (1)
Changed May 08, 2012 07:30PM UTC by comment:1
resolution: | → wontfix |
---|---|
status: | new → closed |
You can work around this by specifying a width for your menu. If you want to keep the shrink-wrapping behavior, you'll need to implement your own
_resizeMenu()
method that accounts for the scrollbar.