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

fix: select: fixes select clear when items are toggled #300

Conversation

dkilgore-eightfold
Copy link
Contributor

SUMMARY:

Octuple Select w/ clear component (link)

Steps to reproduce the bug:

Select School from the dropdown

You see the clear button (x) to the left of “School”

Select School again.

You don’t see the clear button

Select School again and you’ll see the clear button.

selectClearable.mp4

JIRA TASK (Eightfold Employees Only):

ENG-26684

CHANGE TYPE:

  • Bugfix Pull Request
  • Feature Pull Request

TEST COVERAGE:

  • Tests for this change already exist
  • I have added unittests for this change

TEST PLAN:

Pull the pr changes and run yarn, then yarn storybook, verify changes to the Select With Clear story, or implement a clearable select via CodeSandbox CI

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit a284304:

Sandbox Source
React Configuration
Vanilla Configuration

@dkilgore-eightfold dkilgore-eightfold merged commit 72ba459 into EightfoldAI:main Aug 11, 2022
dkilgore-eightfold added a commit to dkilgore-eightfold/octupledownstream that referenced this pull request Aug 11, 2022
* fix: select: fixes select clear when items are toggled

* chore: adds select uts

(cherry picked from commit 72ba459)
dkilgore-eightfold added a commit that referenced this pull request Aug 11, 2022
* fix: select: fixes select clear when items are toggled

* chore: adds select uts

(cherry picked from commit 72ba459)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants