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

clear input text on escape key #680 #689

Merged
merged 1 commit into from
Apr 24, 2019

Conversation

gaskar
Copy link
Contributor

@gaskar gaskar commented Mar 15, 2019

What: Fixed issue concerning escape key handling for comboboxes from w3 standards
https://www.w3.org/TR/wai-aria-practices/examples/combobox/aria1.1pattern/listbox-combo.html

Fixes #680

How: Set inputValue to empty string on escape key handler, before calling reset method.

Checklist:

  • Documentation
  • 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.

see my comment

src/downshift.js Show resolved Hide resolved
@silviuaavram silviuaavram merged commit 7dc7a5b into downshift-js:master Apr 24, 2019
@silviuaavram
Copy link
Collaborator

🎉 This PR is included in version 3.2.10 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

Escape should clear text in input
2 participants