-
Notifications
You must be signed in to change notification settings - Fork 42
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: fix BaseInput missing ref binding #102
base: master
Are you sure you want to change the base?
Conversation
概述演练该拉取请求修改了 变更
序列图sequenceDiagram
participant Parent as 父组件
participant Input as Input组件
participant BaseInput as BaseInput组件
participant NativeElement as 原生输入元素
Parent ->> Input: 传递holderRef
Input ->> BaseInput: 应用holderRef
BaseInput ->> NativeElement: 引用底层DOM元素
可能相关的拉取请求
兔子诗歌
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
✅ Files skipped from review due to trivial changes (1)
🔇 Additional comments (4)tests/index.test.tsx (4)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Summary
Summary by CodeRabbit
新功能
Input
组件的引用能力,允许外部组件访问原生输入元素。测试
Input
组件的nativeElement
属性添加了新的测试用例,提高了组件测试覆盖率。