-
Notifications
You must be signed in to change notification settings - Fork 3
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
VIDCS-3254: Update ChatInput.tsx to fix message sent during composition #14
VIDCS-3254: Update ChatInput.tsx to fix message sent during composition #14
Conversation
Fixed a bug that caused text to be incorrectly posted during conversion when using double-byte characters (e.g., Japanese).
@mobilebiz thank you for your contribution! I am able to reproduce this bug and have created a ticket to track it on our side. We will validate the fix and will probably need to add an automated test, check our CI, and get this fix included as soon as possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding the test @behei-vonage!
Please see the line I think can be removed 🙏
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We still need to sort out our CI issues before merging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM Great job!
The base branch was changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed and tested, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested integration tests locally, LGTM!!
Fixed a bug that caused text to be incorrectly posted during conversion when using double-byte characters (e.g., Japanese).
What is this PR doing?
A new variable,
isComposing
, is created to hold the state of the conversion mode.The enter key is disabled during conversion.
Get the
onCompositionStart
andonCompositionEnd
events of the chat text field and change the state ofisComposing
.How should this be manually tested?
Input double-byte characters in the chat field.
What are the relevant tickets?
Resolves VIDCS-3254