使用选择类的语义UI多级下拉不会展开 [英] Semantic UI Multi-Level Dropdown with the selection class does not expand

查看:89
本文介绍了使用选择类的语义UI多级下拉不会展开的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试并使用搜索选择下拉列表并选择一个子类别时,它会展开到它自己,一个小的滚动条出现在下拉列表中。如果我不添加搜索选择它似乎功能很好。

When I try and use the dropdown with search selection and select a subcategory, it expands into itself and a small scrollbar appears in the dropdown. If I don't add search selection it seems to function just fine.

JSFiddle: https://jsfiddle.net/utqz406p/4/

JSFiddle: https://jsfiddle.net/utqz406p/4/

如何更正此问题?

编辑:这也似乎发生在选择类。 / p>

This also seems to happen with the selection class as well.

推荐答案

您需要覆盖默认的选择下拉式样。
请使用此样式

You need to override the default selection dropdown style. Please use this style

.ui.selection.dropdown .menu {
    overflow: visible !important;
}

这篇关于使用选择类的语义UI多级下拉不会展开的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆