Skip to main content

Search and Top Navigation

#11434 closed bug (notabug)

Opened March 11, 2015 01:02PM UTC

Closed March 11, 2015 01:12PM UTC

Selectmenu shows behind form dialog, if initialized before dialog gets initialized

Reported by: master-of-magic Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:

If you initialize a select menu within a form dialog before you initialize the dialog object, the select options will be shown behind the dialog and are [partially] invisible.

A buggy code:

$("#month").selectmenu({ width: 300 }); // select menu within the dialog form
var dialog = $("#dialog-form").dialog(...);


... just move line 89 in javascript to line 62, run the example and try to open the month-selectmenu

Attachments (0)
Change History (1)

Changed March 11, 2015 01:12PM UTC by scottgonzalez comment:1

resolution: → notabug
status: newclosed

Yup, that's how the stacking logic works. Either initialize in the proper nesting order or be explicit with the appendTo option.