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

Revert "fix(events): stop handled key events propagating (#633)" #649

Merged
merged 2 commits into from Jan 8, 2019
Merged

Revert "fix(events): stop handled key events propagating (#633)" #649

merged 2 commits into from Jan 8, 2019

Conversation

johnjesse
Copy link
Contributor

This reverts commit 5084cd0.

What and Why

The changes as part of #633 were incomplete, did not provide a way to allow downshift to handle event and optionally stop propagation, and incorrectly always stopped event propagation on Escape Keydown events.

See discussion in #642 and #643

Whilst we may want to do some stopping of propagation, for now this just reverts that PR so that the events are always propagated.

@johnjesse
Copy link
Contributor Author

johnjesse commented Jan 8, 2019

Note that since then, Home and End key events have been added, which also stopPropagation (maybe because the other events did), should that be removed to?

kentcdodds
kentcdodds previously approved these changes Jan 8, 2019
Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

👍

@kentcdodds
Copy link
Member

should that be removed to?

Yes, let's remove it from there as well.

Copy link
Member

@kentcdodds kentcdodds left a comment

Choose a reason for hiding this comment

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

Thanks! 💯

@kentcdodds kentcdodds merged commit 39ca5d4 into downshift-js:master Jan 8, 2019
@kentcdodds
Copy link
Member

🎉 This PR is included in version 3.1.12 🎉

The release is available on:

Your semantic-release bot 📦🚀

@timvracer
Copy link

Wooot!!!!! Thanks all!!

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.

None yet

3 participants