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
在下拉到底时自动加载下一页数据的情形中
问题:目前loading为true时也下拉框之前的选项内容会被隐藏,导致加载完下一页的数据后,下拉框又跑到了顶部,需要手动再往下拉,体验不好。
重现链接:https://stackblitz.com/edit/react-2lgttk?file=src%2Fdemo.tsx,src%2Findex.js
期望:增加选项,以达到在示loding状态时,现有的options不隐藏。
The text was updated successfully, but these errors were encountered:
👋 @qinbx,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
这个感觉不太合适用loading来实现,loading本意就是选项重新加载的交互,建议参考这个示例 用Scorlltobottom回调来新增选项实现更好 https://tdesign.tencent.com/react/components/select#%E9%80%9A%E8%BF%87%E6%BB%9A%E5%8A%A8%E4%BA%8B%E4%BB%B6%E5%8A%A0%E8%BD%BD%E9%80%89%E9%A1%B9%E7%9A%84%E9%80%89%E6%8B%A9%E5%99%A8
No branches or pull requests
这个功能解决了什么问题
在下拉到底时自动加载下一页数据的情形中
问题:目前loading为true时也下拉框之前的选项内容会被隐藏,导致加载完下一页的数据后,下拉框又跑到了顶部,需要手动再往下拉,体验不好。
重现链接:https://stackblitz.com/edit/react-2lgttk?file=src%2Fdemo.tsx,src%2Findex.js
你建议的方案是什么
期望:增加选项,以达到在示loding状态时,现有的options不隐藏。
The text was updated successfully, but these errors were encountered: