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

Clicking "Chat" text in chat box doesn't focus it #2381

Open
jpd236 opened this issue Dec 21, 2024 · 0 comments
Open

Clicking "Chat" text in chat box doesn't focus it #2381

jpd236 opened this issue Dec 21, 2024 · 0 comments

Comments

@jpd236
Copy link
Contributor

jpd236 commented Dec 21, 2024

If you click on the "Chat" text of the chat text entry field, focus is placed on the text itself, and you can't start typing a chat message. If you click anywhere else in the field, focus goes in the field and you can start typing.

This confused a couple of folks. Seems like the placeholder shouldn't prevent focus from being placed on the chat box itself.

At a glance, this is using a standard component from the slate library with the "placeholder" attribute, so perhaps a bug upstream.

jpd236 added a commit to jpd236/jolly-roger that referenced this issue Dec 22, 2024
Fixes issue where clicking the placeholder text doesn't focus on the
text box.

See deathandmayhem#2381
jpd236 added a commit to jpd236/jolly-roger that referenced this issue Dec 22, 2024
Fixes issue where clicking the placeholder text doesn't focus on the
text box.

See deathandmayhem#2381
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant