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

feat: prevent submission during IME composition #468

Merged
merged 1 commit into from
Jul 3, 2023

Conversation

toshilow
Copy link
Contributor

@toshilow toshilow commented Jul 3, 2023

Fixed to prevent submission during converting using IME like Japanese
In Safari, isComposing is not as expected, so use keyCode to determine

https://developer.mozilla.org/en-US/docs/Web/API/Element/keydown_event

If this fix is acceptable,I will also create a PR for FlowiseAI/FlowiseChatEmbed.

@CLAassistant
Copy link

CLAassistant commented Jul 3, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@HenryHengZJ HenryHengZJ left a comment

Choose a reason for hiding this comment

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

looks good @toshilow thanks!

@HenryHengZJ HenryHengZJ merged commit 6b1721c into FlowiseAI:main Jul 3, 2023
@toshilow toshilow deleted the feature/ime_enter branch July 4, 2023 01:17
JohnBQuinn pushed a commit to JohnBQuinn/Flowise that referenced this pull request Jun 7, 2024
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