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
<Select/>
onPopupScroll
target
打开选择器并滚动
target能打印出scrollTop、scrollHeight等内容,编写代码时类型也包含scrollTop、scrollHeight等。
target打印出的是元素,类型也没有scrollTop、scrollHeight等。
The text was updated successfully, but these errors were encountered:
你需要访问回调参数对象里面的 target
Sorry, something went wrong.
onPopupScroll={(e) => { console.log(e.target.scrollHeight); }}
但是没有类型
Successfully merging a pull request may close this issue.
Reproduction link
Steps to reproduce
打开选择器并滚动
What is expected?
target能打印出scrollTop、scrollHeight等内容,编写代码时类型也包含scrollTop、scrollHeight等。
What is actually happening?
target打印出的是元素,类型也没有scrollTop、scrollHeight等。
The text was updated successfully, but these errors were encountered: