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

Restore autofocus on emoji drop down #1821

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

eliemichel
Copy link
Contributor

Okey, I know somebody must have explicitly turned this feature off by stating autoFocus={false} in the EmojiPicker, but as an end user it feels really weird to me not to have this auto-focus (I realized several time I was typing my search query directly in the post's content).

Maybe there is a good reason it was deactivated in one specific scenario? At least on my standard desktop browser I believe autofocus is a nicer UX.

@ansh ansh self-requested a review November 5, 2023 22:44
@ansh
Copy link
Contributor

ansh commented Nov 5, 2023

This works correctly on Firefox, Chrome, and Safari. @pfrazee I will leave merging up to you as this change auto-focuses the search bar when the emoji picker is opened, which is a UX question

@pfrazee pfrazee self-assigned this Nov 7, 2023
Copy link
Collaborator

@pfrazee pfrazee left a comment

Choose a reason for hiding this comment

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

Eyyy finally got to this.

Yeah actually this works great. Focus returns to the input after selecting. Nothing but upside.

@pfrazee pfrazee merged commit 2a94e6a into bluesky-social:main Dec 20, 2023
4 checks passed
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.

3 participants