NG-ZORRO / ng-zorro-antd

Angular UI Component Library based on Ant Design
https://ng.ant.design
MIT License
8.87k stars 3.94k forks source link

Input field of multiselect does not extend to the entire length of the select #7556

Open alinashklyar opened 2 years ago

alinashklyar commented 2 years ago

Reproduction link

https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/components/select/demo/select-users.ts

Steps to reproduce

Find multiselect field in documentation component's page and type long value in search field

What is expected?

size of input should extend till the end of the select, just as it is in react ant version

What is actually happening?

Size of available place for text is shorten to 78px (with every screen size), though there is still a lot of free place inside of select to expand

Environment Info
ng-zorro-antd 13.3.2
Browser Chrome
LemniscateX commented 2 years ago

Hi there, I've found the reason and I'd like to fix this 👀