Skip to content

Commit 1ee090e

Browse files
committed
Autocomplete: Set the top position of the menu so that the menu doesn't affect layout. Fixes #8656 - Initial position of autocomplete is incorrect.
1 parent 916c225 commit 1ee090e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

themes/base/jquery.ui.autocomplete.css

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@
88
*
99
* http://docs.jquery.com/UI/Autocomplete#theming
1010
*/
11-
.ui-autocomplete { position: absolute; cursor: default; }
11+
.ui-autocomplete {
12+
position: absolute;
13+
top: 0; /* #8656 */
14+
cursor: default;
15+
}
1216

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

0 commit comments

Comments
 (0)