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(input): handle IME events on input Enter keydown #992

Closed
wants to merge 67 commits into from

Conversation

silviuaavram
Copy link
Collaborator

@silviuaavram silviuaavram commented Apr 11, 2020

What:

Recreating the fix from #671.

Why:

Handle this case by default in Downshift without users having to create boiler plate handling.

Handle IME composing events.

How:

Check for event.which === 229. If true, then will wait for a subsequent event without composing.

More info on:
mui/material-ui#19435
zendeskgarden/react-components#598

Checklist:

  • Documentation
  • Tests
  • TypeScript Types
  • Flow Types
  • Ready to be merged

@silviuaavram silviuaavram deleted the fix/ime-composing-on-enter branch April 11, 2020 09:12
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.

1 participant