We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
focus 到对应输入框
未 focus 到对应输入框
inputEl.current.input.focus(); 和 inputEl.current.focus(); 都可以聚焦,顺便想问一下应该使用哪一个,谢谢。
inputEl.current.input.focus();
inputEl.current.focus();
The text was updated successfully, but these errors were encountered:
reset 会重置组件,后面立刻跟 focus 是聚焦不到的。感觉可以 reset 返回一个 Promise 让用户知道什么时候 reset 重置完成了。
.current.focus()
Sorry, something went wrong.
reset 会重置组件,后面立刻跟 focus 是聚焦不到的。感觉可以 reset 返回一个 Promise 让用户知道什么时候 reset 重置完成了。 .current.focus()
Promise 没实现吗?或者 reset 后 callback
No branches or pull requests
Reproduction link
Steps to reproduce
What is expected?
focus 到对应输入框
What is actually happening?
未 focus 到对应输入框
remark
inputEl.current.input.focus();
和inputEl.current.focus();
都可以聚焦,顺便想问一下应该使用哪一个,谢谢。The text was updated successfully, but these errors were encountered: