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(TextArea): add enterkeyhint and onEnterPress #6598

Merged
merged 6 commits into from
Apr 16, 2024
Merged

feat(TextArea): add enterkeyhint and onEnterPress #6598

merged 6 commits into from
Apr 16, 2024

Conversation

susiwen8
Copy link
Contributor

No description provided.

Copy link
Contributor

PR preview has been successfully built and deployed to https://antd-mobile-preview-pr-6598.surge.sh

@zombieJ zombieJ self-assigned this Apr 16, 2024
@zombieJ zombieJ merged commit 8bd3d17 into ant-design:master Apr 16, 2024
5 checks passed
@susiwen8 susiwen8 deleted the textarea branch April 16, 2024 02:20
@viko16
Copy link

viko16 commented Jun 3, 2024

看起来这个 PR 对 enterKeyHint 类型写法的修改,会影响 React 16 下的类型引用(如 @types/react 16.14.60)。

原因:enterKeyHint 是 React 17 才开始引入的,之前为了兼容 React 16 才把定义写在内部。

Ref #4467 (comment)

@guoyunhe
Copy link
Contributor

guoyunhe commented Jun 3, 2024

@viko16 React 18 上车的好时机

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.

4 participants