Skip to content
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

[Select] 列表选择体验优化 #639

Closed
honkinglin opened this issue Apr 15, 2022 · 5 comments
Closed

[Select] 列表选择体验优化 #639

honkinglin opened this issue Apr 15, 2022 · 5 comments
Assignees
Labels
🙏🏻 help wanted Extra attention is needed in progress in progress

Comments

@honkinglin
Copy link
Collaborator

honkinglin commented Apr 15, 2022

这个功能解决了什么问题

目前每次打开 select 后都是从第一项开始选择,当列表项目过多时体验不太友好

https://codesandbox.io/s/tdesign-react-demo-forked-kyw9cz?file=/src/demo.jsx

你建议的方案是什么

当有 value 且列表项可滚动时,下拉展开时自动定位到对应的 option 位置方便二次操作
建议改成定位到对应的 option 位置,对应的 option 默认出现在可见区域的最后一项

@honkinglin honkinglin added the 🙏🏻 help wanted Extra attention is needed label Apr 15, 2022
@github-actions
Copy link
Contributor

👋 @HQ-Lin,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@github-actions
Copy link
Contributor

任何人都可以处理此问题。
请务必在您的 pull request 中引用此问题。
感谢你的贡献! ✨

@github-actions
Copy link
Contributor

github-actions bot commented Apr 15, 2022

♥️ 有劳 @magentaqin @uyarn @samhou1988 @carolin913 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @HQ-Lin

@honkinglin honkinglin changed the title [Select] 当有 value 且列表项可滚动时,下拉展开时自动定位到对应的 option 位置方便二次操作 [Select] 列表选择体验优化 Apr 15, 2022
@smilebuz
Copy link
Contributor

smilebuz commented Apr 18, 2022

认领该 issue @HQ-Lin
预期完成时间:2022.4.25

@honkinglin honkinglin added the in progress in progress label Apr 21, 2022
@honkinglin
Copy link
Collaborator Author

0.32.1 support

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🙏🏻 help wanted Extra attention is needed in progress in progress
Projects
None yet
Development

No branches or pull requests

4 participants