Skip to content

Commit

Permalink
Autocomplete: Set the top position of the menu so that the menu doesn…
Browse files Browse the repository at this point in the history
…'t affect layout. Fixes #8656 - Initial position of autocomplete is incorrect.
  • Loading branch information
scottgonzalez committed Oct 11, 2012
1 parent 916c225 commit 1ee090e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion themes/base/jquery.ui.autocomplete.css
Expand Up @@ -8,7 +8,11 @@
*
* http://docs.jquery.com/UI/Autocomplete#theming
*/
.ui-autocomplete { position: absolute; cursor: default; }
.ui-autocomplete {
position: absolute;
top: 0; /* #8656 */
cursor: default;
}

/* workarounds */
* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */

0 comments on commit 1ee090e

Please sign in to comment.