In compact theme there is an empty space after all options. It seems that the space increases with more options.
This only occurs when you need to scroll.
Environment
Info
ng-zorro-antd
13.1.1
Browser
Chrome 98, Edge 99
Maybe, the size/height of the CDK's virtual scroll viewport is calculated based on the option-height from the normal theme and not from the compact theme?
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-ivy-4tffxv
Steps to reproduce
What is expected?
No white/empty space. Compare with react in compact theme: https://ant.design/components/select/?theme=compact#components-select-demo-automatic-tokenization
What is actually happening?
In compact theme there is an empty space after all options. It seems that the space increases with more options. This only occurs when you need to scroll.
Maybe, the size/height of the CDK's virtual scroll viewport is calculated based on the option-height from the normal theme and not from the compact theme?