We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
2.30.2
3.2.33
Chrome(102.0.5005.63)
Win10(1903)
14.4.0
https://codesandbox.io/s/blue-pine-lism2s?file=/src/App.vue
打开一个modal,再打开一个modal,使用 on-mask-click 触发关闭第二个 modal,此时会导致两个打开的modal一起关闭。
点击mask先只关闭第二个modal
点击mask会同时关闭两个modal
The text was updated successfully, but these errors were encountered:
fix(modal): when many instances are activated at same time, `on-mask-…
ac37052
…click` will be triggered on every modal even only one mask is clicked #3147
closed in ac37052
Sorry, something went wrong.
bef7fc1
…click` will be triggered on every modal even only one mask is clicked tusen-ai#3147
No branches or pull requests
TuSimple/naive-ui version (版本)
2.30.2
Vue version (Vue 版本)
3.2.33
Browser and its version (浏览器及其版本)
Chrome(102.0.5005.63)
System and its version (系统及其版本)
Win10(1903)
Node version (Node 版本)
14.4.0
Reappearance link (重现链接)
https://codesandbox.io/s/blue-pine-lism2s?file=/src/App.vue
Reappearance steps (重现步骤)
打开一个modal,再打开一个modal,使用 on-mask-click 触发关闭第二个 modal,此时会导致两个打开的modal一起关闭。
Expected results (期望的结果)
点击mask先只关闭第二个modal
Actual results (实际的结果)
点击mask会同时关闭两个modal
Remarks (补充说明)
The text was updated successfully, but these errors were encountered: