-
Notifications
You must be signed in to change notification settings - Fork 184
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
Support destroyOnHide #22
Comments
Just render null http://react-component.github.io/dialog/examples/ant-design.html |
@afc163 可以考虑加这个,一来在内部控制 unmount 可以解决 React 16 render null 的时候会没动画,二来 Modal 内部的组件可以比较方便的使用生命周期。 |
对,Modal 清空数据是老大难问题 |
Trace in ant-design/ant-design#8494 |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rc-trigger support this, but I want to use rc-dialog as standalone component for errors. So it were nice when this option were possible on rc-dialog level already.
The text was updated successfully, but these errors were encountered: