Open zmzimpl opened 4 years ago
Https://stackblitz.com/edit/angular-wvxwbn
The nzScroll set a value greater than the actual height of the data, at this time there is still a scroll bar
When the height is less than the rolling height data y, the scroll bar should not be displayed
When the data is less than the height of the rolling height y, there scrollbar
Environment | Info |
---|---|
Ng-zorro-antd | 9.2.2 |
Browser | Chrome |
@hsuanxyz can try this: https://stackblitz.com/edit/angular-wvxwbn-ck723p?file=src%2Fapp%2Fapp.component.ts
Reproduction link
https://stackblitz.com/edit/angular-wvxwbn
Steps to reproduce
将nzScroll设置成大于实际数据高度的值,此时仍有滚动条
What is expected?
当数据高度小于滚动高度y时,滚动条不应该显示
What is actually happening?
当数据高度小于滚动高度y时,仍有滚动条