-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Dropdown] Search dropdowns don't hide dividers #6173
Labels
Comments
I agree with this, I have created a jsfiddle to to replicate the issue https://jsfiddle.net/52yb48uh/ |
This use case isnt specifically supported in docs. This would be a feature enhancement. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions. |
Bump. |
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a standard
ui search selection dropdown
in Semantic UI v2.3:Take note of the dividers (such as the one above "Other".
Now observe what happens after entering
pote
in search:See how the two dividers are still there below "Potential Employee"? This gets pretty gnarly with larger lists.
I'd suggest hiding
.ui.search.selection.dropdown > .menu > .divider
via javascript whenever search is triggered, and un-hiding them when it's empty.HTML:
JS:
The text was updated successfully, but these errors were encountered: