We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://stackblitz.com/edit/ng-zorro-antd-start-9i4ypj
nz-modal button和a 的打开动画不一致
button和a 的打开动画一致,提供是否启用动画选项。一些重的modal会掉帧。
button 的modal 是从按钮处缩放打开,a标签是从浏览器中间缩放打开
The text was updated successfully, but these errors were encountered:
Translation of this issue:
Nz-modal button and a open animation of a are inconsistent
The button and a open animations are the same, providing whether to enable the animation option. Some heavy modals will drop frames.
The modal of the button is zoomed in from the button, and the a tag is zoomed in from the middle of the browser.
Sorry, something went wrong.
@smartsoul https://ng.ant.design/docs/animations/zh#%E5%9C%A8%E6%9C%8D%E5%8A%A1%E4%B8%AD%E5%85%B3%E9%97%AD
@hsuanxyz 谢谢,看到关闭动画的选项了,但是有些场景是需要动画的,在7.2.0的时候,两者的动画是一致的。
@smartsoul 缺少 href 属性的 a 标签无法聚焦,你可以指定 tabindex 属性 (<a tabindex="-1">...</a>), 或者等待 #3503 合并后使用 <button nz-button nzType="link">...</button> 代替。
href
a
tabindex
<a tabindex="-1">...</a>
<button nz-button nzType="link">...</button>
感谢反馈,如果还有什么问题欢迎重新发起 issue。
hsuanxyz
No branches or pull requests
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-9i4ypj
Steps to reproduce
nz-modal button和a 的打开动画不一致
What is expected?
button和a 的打开动画一致,提供是否启用动画选项。一些重的modal会掉帧。
What is actually happening?
button 的modal 是从按钮处缩放打开,a标签是从浏览器中间缩放打开
The text was updated successfully, but these errors were encountered: