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

modal 点击蒙层关闭的事件建议使用单击而不是松开鼠标 #842

Closed
1 task
bdoycn opened this issue Jun 6, 2019 · 7 comments
Closed
1 task
Labels
Accept You are right, we should do that enhancement outdated Stale

Comments

@bdoycn
Copy link

bdoycn commented Jun 6, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在选中 modal 中的内容时经常会大范围拖选内容 一单移动到蒙层中松开就会关闭弹窗 建议使用单击事件触发关闭(antd 也是单击事件)

What does the proposed API look like?

使用单击事件关闭弹窗

@tangjinzhou tangjinzhou added Accept You are right, we should do that enhancement labels Jun 6, 2019
@nickolboy
Copy link

对,误触几率很大,我已经把这个功能关了,但是还是希望有

@yumyrather
Copy link

似乎是mask的mouseUp事件会触发关闭,antd官方已经修复了这个问题:
react-component/dialog@b4dc00b
但是antd vue这个问题还存在

@tangjinzhou
Copy link
Member

1.4.0版本修复 beta版本已发布

@zhizhongjian1
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在选中 modal 中的内容时

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在选中 modal 中的内容时经常会大范围拖选内容 一单移动到蒙层中松开就会关闭弹窗 建议使用单击事件触发关闭(antd 也是单击事件)

What does the proposed API look like?

使用单击事件关闭弹窗

大佬,请问这个问题怎样解决啊,我也遇到这个问题,现在不知道怎样解决

@zhizhongjian1
Copy link

对,误触几率很大,我已经把这个功能关了,但是还是希望有
大佬,请问这个问题怎样解决的啊,我也遇到这个问题,现在都不知道怎样解决

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Accept You are right, we should do that enhancement outdated Stale
Projects
None yet
Development

No branches or pull requests

5 participants