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

virtual scroll table no data display error #3419

Closed
vthinkxie opened this issue May 7, 2019 · 3 comments
Closed

virtual scroll table no data display error #3419

vthinkxie opened this issue May 7, 2019 · 3 comments
Assignees

Comments

@vthinkxie
Copy link
Member

No description provided.

@vthinkxie vthinkxie self-assigned this May 7, 2019
@shuizhongxiong
Copy link
Contributor

shuizhongxiong commented May 16, 2019

您好,我也遇到这个问题了,在 loading 或者 empty 状态时,virtual 的高度会把它们挤下去。请问这个什么时候修复?

@lppedd
Copy link
Contributor

lppedd commented May 17, 2019

@vthinkxie @shuizhongxiong I think I have a similar problem. Could you describe the issue a little bit better?

@shuizhongxiong
Copy link
Contributor

看了一下 cdk scrolling,发现他们也是不支持动态高度的,想到了一个方案,就是在视图渲染完后将 cdk view 定位到页面外面,等有数据的时候再去掉定位。

写了一个 demo,实现了虚拟滚动+分页加载。

但这只是一个暂时的解决办法,期待能有更好的方案。

Ricbet pushed a commit to Ricbet/ng-zorro-antd that referenced this issue Apr 9, 2020
* fix(module:table): fix table sort default to ascend
close NG-ZORRO#3398

* fix(module:table): fix virtual scroll no data height
close NG-ZORRO#3419

* fix(module:table): fix table border error when small or bordered
close NG-ZORRO#3373 close NG-ZORRO#3032

* docs(module:table): fix table drag style

* fix(module:collapse): fix expand bug in Safari & animation bug
close NG-ZORRO#3098 close NG-ZORRO#3346
hsuanxyz pushed a commit to hsuanxyz/ng-zorro-antd that referenced this issue Aug 5, 2020
* fix(module:table): fix table sort default to ascend
close NG-ZORRO#3398

* fix(module:table): fix virtual scroll no data height
close NG-ZORRO#3419

* fix(module:table): fix table border error when small or bordered
close NG-ZORRO#3373 close NG-ZORRO#3032

* docs(module:table): fix table drag style

* fix(module:collapse): fix expand bug in Safari & animation bug
close NG-ZORRO#3098 close NG-ZORRO#3346
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants