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

n-tree 的滚动条显示不正常,超出底部范围 #2673

Closed
poerlang opened this issue Mar 25, 2022 · 1 comment
Closed

n-tree 的滚动条显示不正常,超出底部范围 #2673

poerlang opened this issue Mar 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@poerlang
Copy link

TuSimple/naive-ui version (版本)

2.26.4

Vue version (Vue 版本)

3.2.25

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

99.0.4844.82

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

win10

Node version (Node 版本)

v16.13.0

Reappearance link (重现链接)

https://codesandbox.io/s/peaceful-morning-584lgn?file=/src/App.vue

Reappearance steps (重现步骤)

用最新版的 vue 和 naive-ui,使用 n-tree ,设定 高度 和 虚拟滚动,加上背景颜色,添加足够多的 item,滚动到最底部,即可观察到滚动条超出了显示范围。

Expected results (期望的结果)

期望滚动条不要超出底部

Actual results (实际的结果)

滚动条超出了底部

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Mar 25, 2022
@poerlang
Copy link
Author

image

@07akioni 07akioni added bug Something isn't working and removed untriaged need to sort labels Mar 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants