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

Wrap the <input> in chat boxes in a form and provide hint #2595

Merged
merged 2 commits into from Feb 26, 2024

Conversation

GreenAsJade
Copy link
Contributor

to try to ensure that phone browsers give users an enter button

Fixes ... hopefully... https://forums.online-go.com/t/unable-to-reply-to-group-chat/49861?u=greenasjade

Proposed Changes

  • Wrap the input in a non-submit form to provide a hint to phone browsers that this input needs an enter button

Copy link

github-actions bot commented Feb 24, 2024

Uffizzi Preview deployment-47192 was deleted.

Copy link
Contributor

@benjaminpjones benjaminpjones left a comment

Choose a reason for hiding this comment

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

I think this will do it! (also, TIL we have tab completion in the chat fields. Do people actually use that??)

@@ -17,23 +17,30 @@

import * as React from "react";

interface TabCompleteInputProperties {
interface TabCompleteInputProperties extends React.HTMLProps<HTMLInputElement> {
Copy link
Contributor

Choose a reason for hiding this comment

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

tbh this whole TabCompleteInputProperties type is unnecessary. Everything defined here is already defined in React.HTMLProps<HTMLInputElement>

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hah - 😜

@anoek
Copy link
Member

anoek commented Feb 24, 2024

Seems good on my devices, it's up on beta to smoke test it

@anoek anoek merged commit dbb0f19 into online-go:devel Feb 26, 2024
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.

None yet

3 participants