Open baiyonghong1989 opened 3 years ago
https://codesandbox.io/S/ek4vk
1, log in to https://ng.ant.design/version/11.4.x/components/modal/en (do not need to use the Codesandbox link, use the Joord's official website to recover)
Correct pop-up window
Modal can't play ! [UPLoading 20210826-150120 (Welinkpc) .jpg ...] ()
ENVIRONMENT | INFO |
---|---|
Ng-Zorro-ANTD | 11.4.2 |
Browser | UC Browser Android Phone |
hello, I used uc's dev tools for debugging and found that it was caused by uc's ad blocking. After I turn off the interception, the page is normal. and the interception rules are as follows:
The function of the modal component is normal in the version 8. I compared the dom of the modal of 8 and 11. The big difference is that there is an extra layer of div whose class is cdk-global-overlay-wrapper.
I would like to ask whether this problem can be fixed by modifying the name of this class。tks
请问这个问题后来解决了吗
没有,我们自己解决了。uc的广告拦截功能误杀了
---原始邮件--- 发件人: @.> 发送时间: 2022年8月19日(周五) 上午10:54 收件人: @.>; 抄送: @.**@.>; 主题: Re: [NG-ZORRO/ng-zorro-antd] modal组件在uc上无法使用,佐罗的官网也有同样问题 (#6950)
请问这个问题后来解决了吗
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
根据您的回答,我们在css中也加了上述两个属性,改完之后弹窗可以正常显示,但是刷新页面之后又被拦截了。请问你们后来是如何解决的
不会吧,我记得当时就加了几个css,important ,就可以了
---原始邮件--- 发件人: @.> 发送时间: 2022年8月19日(周五) 中午11:00 收件人: @.>; 抄送: @.**@.>; 主题: Re: [NG-ZORRO/ng-zorro-antd] modal组件在uc上无法使用,佐罗的官网也有同样问题 (#6950)
根据您的回答,我们在css中也加了上述两个属性,改完之后弹窗可以正常显示,但是刷新页面之后又被拦截了。请问你们后来是如何解决的
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Reproduction link
https://codesandbox.io/s/ek4vk
Steps to reproduce
1、登录https://ng.ant.design/version/11.4.x/components/modal/zh(不需要使用codesandbox链接,直接用佐罗的官网即可复现) 2、用uc浏览器 试一下ant design的各种modal示例,发现弹不出来
What is expected?
能正确弹窗
What is actually happening?
modal弹不出来