Skip to content

unmountOnExit & mountOnEnter do not actually unmount the component #297

@Will-GuiSKJ

Description

@Will-GuiSKJ

I have my CSSTransitions with the unmountOnExit & mountOnEnter flags. I see my components leave the DOM, but the component's componentWillMount and componentWillUnmount are never triggered again even if I return to the page.

	public render() {
		return (
			<CSSTransition
				className="navigation-fade"
				classNames="navigation-fade"
				timeout={150}
				in={this.props.in}
				unmountOnExit
				mountOnEnter
			>
				<div

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions