Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 ajax-solr。因为我有一个很大的数据库,所以我在 auto-complete widget 中得到了大量的建议。我如何在那里实现滚动条?请帮忙!
如果您只是将此样式添加到包含自动完成功能的 div 中,它会成功:我认为它被称为 ui-autocomplete 所以如果您只是尝试将其添加到项目的 css 文件中:
.ui-autocomplete { height: 300px; //this must be fixed overflow: auto; }
让我知道它是否有效,因为我无法测试它。