Skip to content

A-modal component hidden bug #5378

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

Closed
1 task
wtsoftware opened this issue Mar 22, 2022 · 8 comments
Closed
1 task

A-modal component hidden bug #5378

wtsoftware opened this issue Mar 22, 2022 · 8 comments
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated

Comments

@wtsoftware
Copy link

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

Version

3.1.0-rc.2

Environment

Google chrome85

Reproduction link

https://next.antdv.com/components/modal-cn#API

Steps to reproduce

通过a-tab组件加号 窗同modal新增tab,点击取消或者关闭modal后,整个页面不可点击 了。像是有个遮罩层挡住了

What is expected?

取消后应该可以正常点击

What is actually happening?

点击关闭modal后,当前页面不可用 了

@github-actions github-actions bot changed the title a-modal组件隐藏后的bug A-modal component hidden bug Mar 22, 2022
@tangjinzhou tangjinzhou added the 🤔 Need Reproduce We cannot reproduce your problem label Mar 22, 2022
@github-actions
Copy link

Hello @wtsoftware. Please provide a online reproduction by forking this link for vue2link for vue3 or a minimal GitHub repository. Make sure to choose the correct version.

你好 @wtsoftware, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 for vue2此处 for vue3 创建一个 codesandbox 或者提供一个最小化的 GitHub 仓库。请确保选择准确的版本。

@github-actions
Copy link

Since the issue was labeled with Need Reproduce, but no response in 7 days. This issue will be closed. If you have any questions, you can comment and reply.

由于该 issue 被标记为需要复现信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。

@wangyibinwangyi
Copy link

我出现相同的问题,在开发环境打开modal,然后点击取消按钮关闭弹窗以后,可以看到下面的节点被销毁
image

但是打包好到测试环境,相同操作后弹窗确实被关闭了,但是该节点并未被销毁
image
导致整个页面被一层透明遮罩覆盖,所有按钮都无法点击

@wanglei520
Copy link

我出现相同的问题,在开发环境打开modal,然后点击取消按钮关闭弹窗以后,可以看到下面的节点被销毁 image

但是打包好到测试环境,相同操作后弹窗确实被关闭了,但是该节点并未被销毁 image 导致整个页面被一层透明遮罩覆盖,所有按钮都无法点击

我遇到了类似的bug,你这里怎么解决的?

@evanlee01
Copy link

我出现相同的问题,在开发环境打开modal,然后点击取消按钮关闭弹窗以后,可以看到下面的节点被销毁 image
但是打包好到测试环境,相同操作后弹窗确实被关闭了,但是该节点并未被销毁 image 导致整个页面被一层透明遮罩覆盖,所有按钮都无法点击

我遇到了类似的bug,你这里怎么解决的?

解决了吗!!同问!

@evanlee01
Copy link

家人们,我的问题找到原因了:#4565
“process.env.NODE_ENV === 'test' 被占用了,可以先换个环境变量打包测试环境的包,下个版本会改掉“,详情看上述链接

@evanlee01
Copy link

我出现相同的问题,在开发环境打开modal,然后点击取消按钮关闭弹窗以后,可以看到下面的节点被销毁 image
但是打包好到测试环境,相同操作后弹窗确实被关闭了,但是该节点并未被销毁 image 导致整个页面被一层透明遮罩覆盖,所有按钮都无法点击

我遇到了类似的bug,你这里怎么解决的?

问题原因与解决方案:#4565

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 Aug 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🤔 Need Reproduce We cannot reproduce your problem outdated
Projects
None yet
Development

No branches or pull requests

5 participants