-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Description
- 我已经在本仓库的 [issues](https://github.com/vueComponent/ant-design-vue/issues) 中搜索过,确认这不是重复问题。
版本
4.2.6
环境
Windows 11,Chrome 88,[email protected],[email protected]
重现链接
重现步骤
即使内容不足以产生滚动条,它仍然显示了一个灰色的滚动条占位。
期望结果
应该使用 overflow-y: auto 而不是 overflow-y: scroll,因为 auto 只有在达到最大高度时才会出现滚动条,而 scroll 总是显示滚动条。
实际情况
它得到了 overflow-y: scroll,导致滚动条始终显示为灰色。

Metadata
Metadata
Assignees
Labels
No labels