Skip to content
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

CenterPopup: In Firefox browser on Android, the click event in the iframe doesn't work #6381

Open
Fog3211 opened this issue Sep 22, 2023 · 0 comments
Labels

Comments

@Fog3211
Copy link
Contributor

Fog3211 commented Sep 22, 2023

Version of antd-mobile

5.28.2

Operating system and its version

Android

Browser and its version

Android Firefox 116

Sandbox to reproduce

https://codesandbox.io/p/sandbox/frosty-zhukovsky-d82wsh?file=/src/App.tsx:56,1

What happened?

问题描述:在安卓火狐里面,使用CenterPopup打开一个iframe页面,里面的部分元素(如div)的click事件丢失

复现操作:

点击antd-mobile 按钮打开CenterPopup,然后点击 div button,无法弹出alert

备注:
1、应该是所有的安卓火狐都有问题,ios火狐不会复现
2、在antd的modal里面就表现正常,非iframe表现也正常,iframe里面的button和img可以点击
3、把div按钮的user-select设置成none,或者使用onMouseDown,都是可以点击的
4、场景是我需要在自己的页面拉起一个三方登录,所以不太好去改iframe里面的代码

20230922_105523.mp4

Screenshot_20230922_110528

Relevant log output

No response

@Fog3211 Fog3211 added the bug label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant