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

Input组件使用中enterKeyHint报错 #4467

Closed
1 task done
LaughingZhu opened this issue Nov 30, 2021 · 2 comments
Closed
1 task done

Input组件使用中enterKeyHint报错 #4467

LaughingZhu opened this issue Nov 30, 2021 · 2 comments
Labels

Comments

@LaughingZhu
Copy link

Version of antd-mobile

5.0.0-beta.32

Operating system and its version

Others

Browser and its version

web chrome

Sandbox to reproduce

No response

What happened?

在使用Input组件时报错,umi 是3.3.4版本的
image
image

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@jacob-lcs
Copy link
Contributor

这个跟 React 版本有关系,React 17 才添加了 enterKeyHint 属性

facebook/react#18634

@awmleer awmleer changed the title Input组件使用中冠宇enterKeyHint报错 Input组件使用中enterKeyHint报错 Nov 30, 2021
@awmleer
Copy link
Member

awmleer commented Nov 30, 2021

47a5712 中优化了一下,之后 React 16 中也可以正常使用了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants