Skip to content

Multiple classname string not working on nzPopoverOverlayClassName since ngZorroAntd 19 #8952

Closed
@lionzhong

Description

Reproduction link

https://stackblitz.com/edit/stackblitz-starters-uechurue?file=src%2Fmain.ts

Steps to reproduce

1、按19.0文档使用nzPopover组件,并设置[nzPopoverOverlayClassName]="'className1 className2'"这样的多样式名字符串。
2、观察运行时多样式名字符串是否已生效。

What is expected?

className1 className2都应该生效。

What is actually happening?

dom节点中className1 className2都未出现。

Environment Info
ng-zorro-antd 19.0.0
Browser Chrome v131

建议antd内部组件也应该遵循angular官方最佳实践,
请参考https://stackblitz.com/edit/stackblitz-starters-uechurue?file=src%2Fmain.ts,已经有具体的说明。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions