问题
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/
How do I correct this issue?
Edit: This also seems to happen with the selection
class as well.
回答1:
You need to override the default selection dropdown style. Please use this style
.ui.selection.dropdown .menu {
overflow: visible !important;
}
来源:https://stackoverflow.com/questions/34607739/semantic-ui-multi-level-dropdown-with-the-selection-class-does-not-expand