更新时间:2023-10-29 18:01:10
要显示滚动条,您需要将以下CSS样式设置为angucomplete-dropdown类,然后该指令自动将其拾取.
To show scrollbar, you need to set the following css style to angucomplete-dropdown class, and then the directive automatically picks it up.
.angucomplete-dropdown {
overflow-y: auto;
max-height: 200px; // your preference
}
请参见示例#1