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: use correct state change type for End key (#702) #703

Conversation

rincedd
Copy link
Contributor

@rincedd rincedd commented Apr 14, 2019

What:
Fixes #702

How:
Fixed keyDownEnd and keyDownEnter constants having the same value. Also, the Cypress tests for "End" and "Home" keys were still commented out, so I enabled them, too.

Checklist:

  • Documentation N/A
  • Tests
  • Ready to be merged
  • Added myself to contributors table

Copy link
Collaborator

@silviuaavram silviuaavram left a comment

Choose a reason for hiding this comment

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

looks good, but add the comments back to the tests.

cypress/integration/combobox.js Outdated Show resolved Hide resolved
@silviuaavram silviuaavram merged commit ea5f388 into downshift-js:master Apr 19, 2019
@silviuaavram
Copy link
Collaborator

🎉 This PR is included in version 3.2.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

@rincedd rincedd deleted the bugfix/wrong-end-key-state-change-type branch April 19, 2019 19:39
rincedd added a commit to rincedd/downshift that referenced this pull request May 3, 2019
…nshift-js#702) (downshift-js#703)

* fix: use correct state change type for End key (downshift-js#702)

* disable cypress test for home/end keys again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

End key comes up as stateChangeTypes.keyDownEnter in stateReducer
2 participants