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

对话框禁用动画后无法关闭 #27169

Closed
1 task done
concefly opened this issue Oct 15, 2020 · 2 comments
Closed
1 task done

对话框禁用动画后无法关闭 #27169

concefly opened this issue Oct 15, 2020 · 2 comments
Assignees

Comments

@concefly
Copy link
Contributor

concefly commented Oct 15, 2020

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

Reproduction link

Edit on CodeSandbox

Steps to reproduce

  1. 打开对话框
  2. 点击对话框上的“关闭”按钮

What is expected?

对话框关闭

What is actually happening?

对话框没有消失

Environment Info
antd 4.7.0
React 16.14.0
System mac
Browser chrome Version 86.0.4240.75 (Official Build) (x86_64)

应该和这个改动有关 #26940

@zombieJ zombieJ added the 🐛 Bug Ant Design Team had proved that this is a bug. label Oct 15, 2020
@zombieJ zombieJ self-assigned this Oct 15, 2020
@zombieJ
Copy link
Member

zombieJ commented Oct 15, 2020

空字符串会禁止动画:https://codesandbox.io/s/exciting-kapitsa-hmfq1

我看看怎么兼容这种写法。

@zombieJ
Copy link
Member

zombieJ commented Oct 15, 2020

讨论了一下,不用兼容。文档里写一下怎么关闭动画。

@zombieJ zombieJ added 📝 Documentation and removed 🐛 Bug Ant Design Team had proved that this is a bug. labels Oct 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants