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

fix: Microsoft input triggers onchange twice(#3548) #3550

Merged
merged 2 commits into from
Jan 21, 2021
Merged

fix: Microsoft input triggers onchange twice(#3548) #3550

merged 2 commits into from
Jan 21, 2021

Conversation

ajuner
Copy link
Member

@ajuner ajuner commented Jan 16, 2021

First of all, thank you for your contribution! 😄

New feature please send pull request to feature branch, and rest to master branch. Pull request will be merged after one of collaborators approve. Please makes sure that these form are filled before submitting your pull request, thank you!

[中文版模板 / Chinese template]

This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Branch merge
  • Other (about what?)

What's the background?

fixed #3548
see ant-design/ant-design#27748

对于inputNumber的中文输入跟非中文输入区别了一下,应该没啥问题。。但不敢保证。。composing参数参考vue在runtime中的处理

@tangjinzhou
Copy link
Member

antInputDirective 看下这个指令的用法 很多组件再用

@ajuner
Copy link
Member Author

ajuner commented Jan 19, 2021

这个指令对这个bug好像起不到作用。。在formatter的情况下触发不了trigger
情况是微软输入法的中文数字输入会进入onCompositionStart方法,而且会触发两次oninput,被formatter后不会End

@tangjinzhou tangjinzhou merged commit aad33cb into vueComponent:next Jan 21, 2021
@ajuner ajuner deleted the input-number branch February 26, 2021 01:36
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

inputNumber组件格式化返回值错误
2 participants