-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
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
IE 11 中在A标签上打开modal 窗口出错 #2388
Comments
@kkalpha 请提供重现链接 |
|
从IE浏览器报错看: Object doesn't support property or method 'blur' |
@kkalpha It works for me. I start a new project because stackblitz is too huge for IE11. 🤣 Actually IE11 supports |
@wendzhue |
@kkalpha That's exactly what I did. |
@wendzhue |
我也是同样问题 |
用button按钮点击打开模态框不会出现这种错误,因为它们有focus和blur方法,i和a标签点击打开模态框会出现此类问题 |
* refactor(module:modal): refactor block scroll strategy close NG-ZORRO#2612 * docs(module:modal): update docs * test(module:modal): update cases for scrollbar * refactor(module:modal): use OnPush change detection close NG-ZORRO#2643, close NG-ZORRO#2656 * fix(module:modal, drawer): IE/Edge SVG doesn't support `blur`/`focus` method close NG-ZORRO#2388 * fix(module:modal): fix animations * refactor(module:modal): switch to Default change detection * docs: add temporary use case for IE * fix: scrollblock style
* fix(module: drawer, modal): fix focus bug of IE * fix(module:drawer): prevent repeatedly open drawer when tap focus element close NG-ZORRO#2388
* refactor(module:modal): refactor block scroll strategy close NG-ZORRO#2612 * docs(module:modal): update docs * test(module:modal): update cases for scrollbar * refactor(module:modal): use OnPush change detection close NG-ZORRO#2643, close NG-ZORRO#2656 * fix(module:modal, drawer): IE/Edge SVG doesn't support `blur`/`focus` method close NG-ZORRO#2388 * fix(module:modal): fix animations * refactor(module:modal): switch to Default change detection * docs: add temporary use case for IE * fix: scrollblock style
Version
1.8.0
Environment
IE 11
Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-y5nxnf
Steps to reproduce
nzTitle: '',
nzContent: EmployeeListComponent,
nzComponentParams: {
selectedEmployees: '1'
},
nzWidth: '700px',
nzClosable: false,
nzFooter: null
});
What is expected?
正常打开
What is actually happening?
IE浏览器报错: Object doesn't support property or method 'blur'
Other?
1.6版本是正确的,是不是1.7升级这个功能的时候造成的: modal: 当 modal 打开关闭时自动切换焦点 (#2188) (7c0ced4), closes #2124
The text was updated successfully, but these errors were encountered: