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 virtualScroll resizeable 滚动到底部出现空白 #5049

Closed
monsterkai233 opened this issue Jul 12, 2023 · 6 comments
Closed

DataTable virtualScroll resizeable 滚动到底部出现空白 #5049

monsterkai233 opened this issue Jul 12, 2023 · 6 comments
Labels
bug Something isn't working

Comments

@monsterkai233
Copy link

TuSimple/naive-ui version (版本)

2.34.4

Vue version (Vue 版本)

3.3.4

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

Chrome(114)

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

MacOS(13.2.1)

Node version (Node 版本)

16.4.1

Reappearance link (重现链接)

https://codesandbox.io/p/github/monsterkai233/naive-ui-datatable/main

Reappearance steps (重现步骤)

1 首先我固定了第一列
2 在第二列设置了resizeable并且数据进行随机以达到每一行是不一样的高度
3 将滚动条滚动到底部 拖拽将第二列拖至较小值使得滚动条往上偏移
4 此时再次滚动滚动条到底部底部出现空白

Expected results (期望的结果)

希望滚动到底部不要出现空白

Actual results (实际的结果)

滚动到底部出现空白

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Jul 12, 2023
@monsterkai233 monsterkai233 reopened this Jul 12, 2023
@monsterkai233
Copy link
Author

image

@monsterkai233
Copy link
Author

还有个问题是我已经设置了singleline为false,.n-data-table .n-data-table-td.n-data-table-td--last-row { border-bottom: 0 solid var(--n-merged-border-color); }导致下边线失效

@XieZongChen XieZongChen added bug Something isn't working and removed untriaged need to sort labels Jul 13, 2023
@jc840031139
Copy link

我也遇到这个问题 使用flex-height后 页面内表格不足一整页 最后一行没有下分割线

image

@keykaykay
Copy link

keykaykay commented Aug 3, 2023

你好,我也遇到这个问题,希望告知如何解决。
image
这里只有两行

@jahnli
Copy link
Collaborator

jahnli commented Mar 12, 2024

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

@jahnli jahnli closed this as completed Mar 12, 2024
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

5 participants