From: Scott González Date: Thu, 11 Oct 2012 23:06:54 +0000 (-0400) Subject: Autocomplete: Set the top position of the menu so that the menu doesn't affect layout... X-Git-Tag: 1.9.1~55 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1ee090ea9e03c800a764d992506869384409bdb6;p=jquery-ui.git Autocomplete: Set the top position of the menu so that the menu doesn't affect layout. Fixes #8656 - Initial position of autocomplete is incorrect. --- diff --git a/themes/base/jquery.ui.autocomplete.css b/themes/base/jquery.ui.autocomplete.css index 499d2e3ae..05ae3108f 100644 --- a/themes/base/jquery.ui.autocomplete.css +++ b/themes/base/jquery.ui.autocomplete.css @@ -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 */