Skip to content
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] Clearing user additions prevented Dropdown List #244

Merged

Conversation

lubber-de
Copy link
Member

Description

When a searchable dropdown allows for user additions and clearable icon, the dropdown trigger was not working after clearing. That's because the general clear-method did not remove the .filtered class of all items in that case.

Testcase (from original SUI issue)

https://jsfiddle.net/gjwLaqem/

Screenshots

Before

clearable_addition_buggy

After

clearable_addition

Closes

Semantic-Org/Semantic-UI#6665

@lubber-de lubber-de added type/bug Any issue which is a bug or PR which fixes a bug lang/javascript Anything involving JavaScript state/awaiting-reviews Pull requests which are waiting for reviews tag/sui-issue Taken from an existing Issue/PR of SUI labels Nov 10, 2018
@lubber-de lubber-de self-assigned this Nov 10, 2018
Copy link
Member

@y0hami y0hami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lubber-de lubber-de added this to the 2.6.4 milestone Nov 11, 2018
Copy link
Contributor

@prudho prudho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@y0hami y0hami removed the state/awaiting-reviews Pull requests which are waiting for reviews label Nov 12, 2018
@y0hami y0hami merged commit 6b39072 into fomantic:beta Nov 12, 2018
@lubber-de lubber-de deleted the fix/6665/clearable_must_clear_filtered branch November 12, 2018 09:01
@y0hami y0hami mentioned this pull request Nov 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lang/javascript Anything involving JavaScript tag/sui-issue Taken from an existing Issue/PR of SUI type/bug Any issue which is a bug or PR which fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants