Skip to content

Conversation

@Wxh16144
Copy link
Contributor

[中文版模板 / Chinese template]

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / documentation update
  • Demo update
  • TypeScript definition update
  • Bundle size optimization
  • Performance optimization
  • Enhancement feature
  • Internationalization
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

fix: #2702

💡 Background and solution

参考 antd 那边的逻辑,多做一个判断以更好的兼容 antd 的组件。 虽然 v4 建议脱绑 antd, 但是 v3 我们还是可以继续优化一下他

请在评论区 review 讨论吧~

📝 Changelog

Language Changelog
🇺🇸 English enhance DOM judgment
🇨🇳 Chinese 增强 DOM 判断以更好的配合 antd 组件

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

@li-jia-nan li-jia-nan closed this Mar 18, 2025
@li-jia-nan li-jia-nan reopened this Mar 18, 2025
Copy link
Collaborator

@crazylxr crazylxr left a comment

Choose a reason for hiding this comment

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

LGTM

}

return targetElement;
return getDOM(targetElement)
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里缺了分号

@crazylxr
Copy link
Collaborator

冲突需要解决一下

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.

[useClickAway][Antd Input] 在 Antd Input 组件使用 useClickAway 页面报错

3 participants