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: Allowing emoji selection on enter #386

Merged
merged 1 commit into from
Dec 21, 2019
Merged

Fix: Allowing emoji selection on enter #386

merged 1 commit into from
Dec 21, 2019

Conversation

abrioux
Copy link

@abrioux abrioux commented Dec 18, 2019

The handled variable should only be set when we actually call the handleEmojiSelect function, otherwise it overrides default button behaviour of being selectable by the enter key.

This causes an issue for accessible keyboard navigation: https://webaim.org/techniques/keyboard/

Fixes #353

@nolanlawson nolanlawson merged commit 76ac008 into missive:master Dec 21, 2019
@nolanlawson
Copy link

Thanks!

@zahid-arbisoft
Copy link

zahid-arbisoft commented Oct 21, 2021

My requirement is against this. I do not want to open the keyboard on entering, can we add an option for that #537

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.

Cannot select emoji via 'Enter' on keydown
3 participants