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

The scroll bar is always displayed when the table component is set to scroll #4484

Closed
1 task
wangyu-2024 opened this issue Aug 9, 2021 · 3 comments
Closed
1 task

Comments

@wangyu-2024
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

2.2.3

Environment

vue 3.1 chrome

Reproduction link

Edit on CodeSandbox

Steps to reproduce

table组件设置scroll属性 如

What is expected?

在数据少时自动隐藏滚动条

What is actually happening?

滚动条始终显示 因为设置了overflow-y: scroll; 我不知道这是出于什么目的,我现在只能在项目 自定义overflow-y: auto的样式,我不知道有没有更好的办法

@github-actions github-actions bot changed the title table组件设置scroll时始终显示滚动条 The scroll bar is always displayed when the table component is set to scroll Aug 9, 2021
@mynetfan
Copy link

commit只解决了横向滚动条的问题。纵向滚动条仍然是老样子

@LBC100
Copy link

LBC100 commented Oct 13, 2021

有人解决吗
image

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants