Skip to content

Commit fbe473e

Browse files
marti1125apsdehal
authored andcommitted
Selectmenu: Update xml for non native theming problem
Fixes jquery-archive/jquery-mobile#7957 Closes #389
1 parent c120da3 commit fbe473e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

entries/selectmenu.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,8 @@ $.mobile.selectmenu.prototype.options.hidePlaceholderMenuItems = false;
225225
<p>You can specify any jQuery Mobile button <code>data-</code> attribute on a select element, too. In this example, we're setting the theme, icon and inline properties:
226226
<iframe src="/resources/select/example16.html" style="width:100%;height:310px;border:0px"></iframe></p>
227227

228-
<p>The <code>data-overlay-theme</code> attribute can be added to a select element to set the color of the overlay layer for the dialog-based custom select menus and the outer border of the smaller custom menus. By default, the content block colors for swatch "a"" will be used for the overlays.
228+
<p>The <code>data-overlay-theme</code> attribute can be added to a select element to set the color of the overlay layer for the dialog-based custom select menus and the outer border of the smaller custom menus. By default, the content block colors for swatch "a" will be used for the overlays.
229+
<p>Note: Custom selects use the popup widget for the menu. Because the popup container is elsewhere on the page it can't inherit the theme swatch from the parent of the select, and inherits from the page instead.</p>
229230
<iframe src="/resources/select/example17.html" style="width:100%;height:290px;border:0px"></iframe></p>
230231
<p><iframe src="/resources/select/example18.html" style="width:100%;height:590px;border:0px"></iframe></p>
231232

0 commit comments

Comments
 (0)