#10543 closed bug (fixed)
Dialog: Selectmenu/autocomplete in dialog window is cut off
Reported by: | aldra | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.12.0 |
Component: | ui.dialog | Version: | 1.11.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
When a selectmenu widget is placed in a dialog window and there is not enough space to show all the options, it's cut off. The option list should appear on top of the dialog.
Test this jsFiddle: http://jsfiddle.net/bcuonqt0/
Change History (10)
comment:1 Changed 9 years ago by
Resolution: | → notabug |
---|---|
Status: | new → closed |
comment:2 Changed 9 years ago by
Resolution: | notabug |
---|---|
Status: | closed → reopened |
comment:3 Changed 9 years ago by
The appendTo solution brings another bug. If you close the option list and reopen it, the list is now behind the dialog window (Firefox 31.0).
But the second solution with the CSS overflow works for me. I'll use this method until it's fixed.
Thanks for your quick response!
comment:6 Changed 9 years ago by
The same problem happens with ui.autocomplete. Using appendTo with autocomplete also only works for the first dialog invocation.
appendTo can't reliably solve the problem. The other proposed solution brings back #9521 and forces us to modify the ui.dialog styles to make jQuery UI widgets usable inside a ui.dialog.
should this be considered a bug of ui.core or ui.css-framework?
comment:7 Changed 9 years ago by
Component: | ui.selectmenu → ui.dialog |
---|---|
Summary: | Selectmenu in dialog window is cut off → Dialog: Selectmenu/autocomplete in dialog window is cut off |
I'm moving the component to dialog and changing the title as this affects multiple widgets.
comment:9 Changed 8 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Dialog: Remove overflow: hidden and reposition resize handles
Fixes #10543 Closes gh-1439
Changeset: 912eb62ccb77059148a1fe14bdb57b7f9e44a14c
comment:10 Changed 8 years ago by
Milestone: | none → 1.12.0 |
---|
You need to either use the
appendTo
option (http://jsfiddle.net/tj_vantoll/eab24oqm/) or change the CSSoverflow
on the dialog elements (http://jsfiddle.net/tj_vantoll/cuc3un92/).