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

Support destroyOnHide #22

Closed
aight8 opened this issue May 2, 2016 · 4 comments
Closed

Support destroyOnHide #22

aight8 opened this issue May 2, 2016 · 4 comments

Comments

@aight8
Copy link
Contributor

aight8 commented May 2, 2016

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.

@yiminghe
Copy link
Member

@yesmeck yesmeck reopened this Dec 7, 2017
@yesmeck
Copy link
Member

yesmeck commented Dec 7, 2017

@afc163 可以考虑加这个,一来在内部控制 unmount 可以解决 React 16 render null 的时候会没动画,二来 Modal 内部的组件可以比较方便的使用生命周期。

@afc163
Copy link
Member

afc163 commented Dec 7, 2017

对,Modal 清空数据是老大难问题

@yesmeck
Copy link
Member

yesmeck commented Dec 7, 2017

Trace in ant-design/ant-design#8494

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

No branches or pull requests

4 participants