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
version: 0.5.2 //Transition
didLeave() { const { didLeave } = this.props; didLeave(); } <TransitionMotion willEnter={this.willEnter.bind(this)} willLeave={this.willLeave.bind(this)} didLeave={this.didLeave.bind(this)} defaultStyles={this.getStyles('before')} styles={this.getStyles('after')}> { this.renderDom.bind(this) } </TransitionMotion>
//container
destroyToast() { const { node } = this.props; //node: another container render to body const unmountResult = ReactDOM.unmountComponentAtNode(node); if (unmountResult && node.parentNode) { node.parentNode.removeChild(node); } } <Transition show={show} isAnimate={this.isAnimate} type='toast' didLeave={this.destroyToast.bind(this)} > <div className="MI_toast-container"> <div className="MI_toast" >{ message }</div> </div> </Transition>
thanks~
The text was updated successfully, but these errors were encountered:
This seems to be related to this: #567
The code fixing this unmounting issue is not in npm package manager
Sorry, something went wrong.
No branches or pull requests
version: 0.5.2
//Transition
//container
thanks~
The text was updated successfully, but these errors were encountered: