Skip to content
Permalink
Browse files

Added -webkit-overflow-scrolling: touch; to the selectmenu. This enab…

…les the menu to be scrolled on iOS.
  • Loading branch information
chadedrupt committed Feb 28, 2012
1 parent cf6eff7 commit 197730ad48ef2ce9a0837d7413da4fbdaa10f263
Showing with 1 addition and 1 deletion.
  1. +1 −1 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; }

0 comments on commit 197730a

Please sign in to comment.
You can’t perform that action at this time.