Opened 5 years ago

Closed 5 years ago

#10646 closed bug (worksforme)

.selectmenu hiding behind dialog

Reported by: cshaw Owned by:
Priority: minor Milestone: none
Component: ui.selectmenu Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:

Description

When using the selectmenu() function within a div which has been converted into a dialog with .dialog().

The Select Menu Displays as normal, but when clicked the options list is hidden behind both the dialog and the overlay.

It would appear that the z-index is not dynamically calculated.

Attempted .css() techniques to temporarily set z-index to top to rectify the problem but it causes selectmenu to break the layout in other area's, such as when datepickers are used near a select menu.

Change History (1)

comment:1 Changed 5 years ago by Scott González

Resolution: worksforme
Status: newclosed

This is working fine for me. Make sure you're initializing the selectmenu after the dialog or explicitly specifying the appendTo option.

Note: See TracTickets for help on using tickets.