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

[DatePicker] 日期选择器,选择年份的时候滚动到底部会闪回顶部 #2391

Closed
MaelWeb opened this issue Jul 26, 2023 · 3 comments
Assignees
Labels
🐞 bug Something isn't working to be published fixed, not be published

Comments

@MaelWeb
Copy link

MaelWeb commented Jul 26, 2023

tdesign-react 版本

1.1.16

重现链接

https://tdesign.tencent.com/react/components/date-picker?tab=demo

重现步骤

官网第一个demo即可复现,如:下图所示区域
image

期望结果

不要自动闪回顶部,体验很不友好

实际结果

No response

框架版本

No response

浏览器版本

No response

系统版本

No response

Node版本

No response

补充说明

No response

@github-actions
Copy link
Contributor

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

@github-actions
Copy link
Contributor

♥️ 有劳 @xiaosansiji @vision-yip @honkinglin 尽快确认问题。
确认有效后将下一步计划和可能需要的时间回复给 @MaelWeb

@imp2002
Copy link
Contributor

imp2002 commented Jul 28, 2023

定位了一下问题,是 PR #1870 产生的, 引入prevVisible 但在正常滚动的时候prevVisible并不会发生变化使得 updateScrollTop 不执行

@HaixingOoO HaixingOoO added the 🐞 bug Something isn't working label Sep 28, 2023
@HaixingOoO HaixingOoO added the to be published fixed, not be published label Nov 20, 2023
@uyarn uyarn closed this as completed Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working to be published fixed, not be published
Projects
None yet
Development

No branches or pull requests

6 participants