nz-anchor invalid query selector '?'
Closed this issue · 1 comments
KostaD02 commented
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.
Environment | Info |
---|---|
ng-zorro-antd | 17.3.0 |
Browser | any |
zorro-bot commented
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 以方便我们定位错误。谢谢配合!