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

DataTable在未设置max-height的情况下横向滚动条消失 #1857

Closed
tracy2zhang opened this issue Dec 15, 2021 · 0 comments · Fixed by #1863
Closed

DataTable在未设置max-height的情况下横向滚动条消失 #1857

tracy2zhang opened this issue Dec 15, 2021 · 0 comments · Fixed by #1863
Assignees
Labels
bug Something isn't working priority: high

Comments

@tracy2zhang
Copy link

TuSimple/naive-ui version (版本)

2.22.0

Vue version (Vue 版本)

3.2.26

Browser and its version (浏览器及其版本)

96.0.4664.55

System and its version (系统及其版本)

12.0.1

Node version (Node 版本)

16.13

Reappearance link (重现链接)

https://codesandbox.io/s/focused-tharp-vzq6v?file=/src/Demo.vue

Reappearance steps (重现步骤)

  1. 设置scroll-x使table可以横向滚动
  2. 不要设置max-height

Expected results (期望的结果)

横向可以滚动,并且有滚动条

Actual results (实际的结果)

横向可以滚动,但是没有横向的滚动条

Remarks (补充说明)

当设置max-height后横向滚动条出现

@github-actions github-actions bot added the untriaged need to sort label Dec 15, 2021
@Talljack Talljack added bug Something isn't working priority: high and removed untriaged need to sort labels Dec 15, 2021
@Talljack Talljack self-assigned this Dec 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants