selectmenu inconsistency #7195

mdgross opened this Issue Feb 28, 2014 · 4 comments


None yet
2 participants

mdgross commented Feb 28, 2014

A selectmenu with data-native-menu="false" uses a popup to display smaller menus. The data-overlay-theme property specifies the theme of the selectmenu popup itself. However, when using an actual popup the data-overlay-theme property specifies the theme of the background. Additionally, there is no way to specify the background theme of the selectmenu popup.



gabrielschulhof commented Feb 28, 2014


#6975 2: The Revenge Of The Popup

The popup created by the selectmenu gets an ID that's derived from the selectmenu's own ID and has the following pattern: <selectmenuId>-listbox.

Thus, you can hook up like this: $( "#<selectmenuId>-listbox" ).on( "popupafteropen", function() { /* ... */ });

mdgross commented Feb 28, 2014


Thank you for this. Could you please provide a similar example which demonstrates how to set the background (overlay) to theme "b" on the selectmenu popup? I would like the result to be similar for both examples I have provided.

gabrielschulhof self-assigned this Feb 28, 2014

gabrielschulhof added this to the 1.4.3 milestone Feb 28, 2014


gabrielschulhof commented Mar 1, 2014

@mdgross In it waits for the selectmenu to be created, and then it sets the popup's overlayTheme option to "b".

@gabrielschulhof gabrielschulhof added a commit that referenced this issue Mar 12, 2014

@gabrielschulhof gabrielschulhof Selectmenu: Correctly pass theme and overlayTheme to popup
Closes gh-7196
Fixes gh-7195

(cherry picked from commit 4434822)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment