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提供点击modal外触发事件 #56

Open
1 task done
zkzgs opened this issue Nov 23, 2024 · 1 comment
Open
1 task done

modal提供点击modal外触发事件 #56

zkzgs opened this issue Nov 23, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@zkzgs
Copy link

zkzgs commented Nov 23, 2024

这个需求解决了什么问题:

提供一个点击modal弹窗外部触发的事件(不是点击mask),在modal显示时,并且区分最小化,让使用者自定义点击mask关闭方法
场景:modal没有mask,导致mask-closable 失效,需要自己定义

建议的 API 是什么样的:

类似于clickOutside

是否已有其他不错的替代方案:

No response

是否使用当前最新版本?

  • 我已确认是使用当前的最新版本。
@zkzgs zkzgs added the enhancement New feature or request label Nov 23, 2024
@zkzgs
Copy link
Author

zkzgs commented Nov 23, 2024

现在用的歪招
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant