Search and Top Navigation
#10842 closed bug (notabug)
Opened January 24, 2015 07:35PM UTC
Closed January 25, 2015 01:35PM UTC
Theme scope not working for Selectmenu items
Reported by: | cistox | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.widget | Version: | 1.11.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Similarly to the Dialog a theme used on a given scope is not working for widgets depending from the body (e.g. generating dom notes at that level) such as the Selectmenu widget.
Selectmenu gui items are infact generated under the body which is often outside the "scope" choosen by the user.
By using a scope is usually like choosing a specific area or a single widget to use with a specific theme.
Unfortunately the actual behaviour is that we are constrained to use the body to provide the scope class.
Past releases such as the jquery ui 1.10.3 were working perfectly with two or more scope and different themes at the same time.
Differently from other similar bugs this is not related to the theme tool, but this is instead a design bug that builds (generates) guis under the body.
The fix should be to have widget initiated by generating their required GUIs under the scope div and not always in the body (which is outside any other user scope).
Hope this helps.
Attachments (0)
Change History (1)
Changed January 25, 2015 01:35PM UTC by comment:1
resolution: | → notabug |
---|---|
status: | new → closed |
Where the menu is placed in the DOM is configurable; see http://api.jqueryui.com/selectmenu/#option-appendTo