NG-ZORRO/ng-zorro-antd

nz-anchor invalid selector '?'

Closed this issue · 2 comments

Reproduction link

https://stackblitz.com/edit/angular-sqgiqz?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

Use nz-anchor component and add '?' in nzHref

What is expected?

Scroll to nzHref even if url contains '?'

What is actually happening?

ERROR
Error: Failed to execute 'querySelector' on 'Document': '#components-anchor-demo-static?' is not a valid selector.

Hello @KostaD02, your issue has been closed because it does not conform to our issue requirements.
Please use the Issue Helper to create an issue, thank you!

你好 @KostaD02,为了能够进行高效沟通,我们对 issue 有一定的格式要求,你的 issue 因为不符合要求而被自动关闭。
你可以通过 issue 助手 来创建 issue 以方便我们定位错误。谢谢配合!

Issue helper is bugged for me
image