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

fix: scrollbar invisible #237

Merged
merged 1 commit into from
Sep 26, 2023
Merged

fix: scrollbar invisible #237

merged 1 commit into from
Sep 26, 2023

Conversation

zombieJ
Copy link
Member

@zombieJ zombieJ commented Sep 26, 2023

v4 中的下拉框在动画启动时通过 transform 设置 scaleY: 0,导致 onResize 事件触发时设置容器高度为 0 而让滚动条 thumb 高度坍缩成 0

而 v5 中,动画是从 scaleY: 0.8 开始。倒是 thumb 高度虽然不符合预期,但是仍然可以见到。

其中,不同 antd 版本的滚动条其实都是可以正常滚动。这个计算只影响 thumb 展示高度。

fix ant-design/ant-design#45078

@vercel
Copy link

vercel bot commented Sep 26, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
virtual-list ❌ Failed (Inspect) Sep 26, 2023 7:21am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

v4.24.14: Select component scroll bar does not display, v4.24.8 displays normally
1 participant