trick autocomplete in ui dialog
gtraxx opened this issue · comments
Gérits Aurélien commented
Hello, working with aristo,
I quickly realized that using the autocomplete in a dialog box has display problem.
But I find a good method.
.ui-autocomplete {
background:white;
max-height: 250px;
overflow-y: auto;
/* prevent horizontal scrollbar /
overflow-x: hidden;
/ add padding to account for vertical scrollbar /
padding-right: 20px;
z-index:1003 !important;
z-index:1003;
}
/ Option */
.ui-autocomplete-loading { background: white url(images/loader.gif) right center no-repeat; }
Best regards :)