From: The Chad Date: Tue, 28 Feb 2012 00:26:06 +0000 (+1000) Subject: Added -webkit-overflow-scrolling: touch; to the selectmenu. This enables the menu... X-Git-Tag: selectmenu_v1.2.2~13^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=197730ad48ef2ce9a0837d7413da4fbdaa10f263;p=jquery-ui.git Added -webkit-overflow-scrolling: touch; to the selectmenu. This enables the menu to be scrolled on iOS. --- diff --git a/themes/base/jquery.ui.selectmenu.css b/themes/base/jquery.ui.selectmenu.css index d2c65bc77..170f9a016 100644 --- a/themes/base/jquery.ui.selectmenu.css +++ b/themes/base/jquery.ui.selectmenu.css @@ -3,7 +3,7 @@ .ui-selectmenu { display: block; display: inline-block; position: relative; height: 2.2em; vertical-align: middle; text-decoration: none; overflow: hidden; zoom: 1; } .ui-selectmenu-icon { position:absolute; right:6px; margin-top:-8px; top: 50%; } .ui-selectmenu-menu { padding:0; margin:0; position:absolute; top: 0; display: none; z-index: 1005;} /* z-index: 1005 to make selectmenu work with dialog */ -.ui-selectmenu-menu ul { padding:0; margin:0; list-style:none; position: relative; overflow: auto; overflow-y: auto ; overflow-x: hidden; } +.ui-selectmenu-menu ul { padding:0; margin:0; list-style:none; position: relative; overflow: auto; overflow-y: auto ; overflow-x: hidden; -webkit-overflow-scrolling: touch;} .ui-selectmenu-open { display: block; } .ui-selectmenu-menu-popup { margin-top: -1px; } .ui-selectmenu-menu li { padding:0; margin:0; display: block; border-top: 1px dotted transparent; border-bottom: 1px dotted transparent; border-right-width: 0 !important; border-left-width: 0 !important; font-weight: normal !important; }