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: 悬停在输入法上时按下Enter键不发送消息 #31

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YuSheng133
Copy link

增加了一个变量isOnIME,用addeventlistener的conpositionstart/end事件来追踪用户是否悬停在输入法上,并且只在isOnIME为false时按下enter会让消息直接发出。比较小白不知道有没有更好的实现,先提了PR看看(fix #30)

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.

[req] 输入法及发送快捷键的支持问题
1 participant