nzMaxTagPlaceholder is missing a class and has too much whitespace on the right side
See original GitHub issueReproduction link
https://stackblitz.com/edit/angular-9xbvbe
Steps to reproduce
Select more than nzMaxTagCount items in a nz-select with nzMode=“multiple”.
What is expected?
The overflow/max tag (populated by nzMaxTagPlaceholder) should have the same amount of padding on both sides.
What is actually happening?
The overflow/max tag (populated by nzMaxTagPlaceholder) should have more padding on the right side.
| Environment | Info |
|---|---|
| ng-zorro-antd | 8.5.2 |
| Browser | Any |
This is a discrepancy from upstream Ant and is caused by not setting the class ant-select-selection__choice__disabled on the max tag, thus leaving room for the non-existing close X.

Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
White space showing up on right side of page when ...
Our webpage background images are having problems in FireFox as well as Safari in iOS on iPads/iPhones with white space showing up on...
Read more >Office Q&A: Placeholder formats and disappearing white space
This month, Susan Harkins shows you how to format PowerPoint placeholders and reclaim white space in a Word document.
Read more >How to FIX RIGHT-SIDE WHITESPACE PROBLEM IN HTML ...
http://stackoverflow.com/questions/4617872/ white - space -showing-up-on- right - side -of-page-when-background-image-should-extendThat above was ...
Read more >DegreeWorks Planner | Inside
To build a Placeholder, go to an empty Course Box and type a hyphen, a space, and then the name of your placeholder...
Read more >placeholder-shown - CSS-Tricks
The :placeholder-shown pseudo-class selects the input element itself when placeholder text exists in a form input. Think of it as a nice.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

In NG-Zorro 9 the missing class is applied, but now there is to much whitespace on the left side instead. 😅
I will look at upstream and update this issue tomorrow.
Hello @oestrogen. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please fill the Pull Request Template here, provide documentation/test cases if needed and make sure CI passed, we will review it soon. Appreciate it advance and we are looking forward to your contribution!
你好 @oestrogen, 我们完全同意你的提议/反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献!