Answer the question
In order to leave comments, you need to log in
React how to make slideDown animation correct?
Customizing dropdown animation with ReactCSSTransitionGroup. That is, when you click on an element, a list appears.
<ReactCSSTransitionGroup
transitionName="anim"
transitionAppear={true}
transitionAppearTimeout={1000}
transitionEnter={false}
transitionLeave={false}
>
{ this.props.shows[this.props.projectId] ?
<div className="projli__content">
<div className="projli__content-collapse collapse show" id="mpCollapse1">
<div className="clearfix">
<div className="projli__content-in">
<ListSequenceContainer projectId={this.props.projectId} />
</div>
</div>
</div>
<div className="projli__footer">
<div className="projli__nav">
<button className="btn btn-sm btn-indigo" onClick={this.showTypeAsset}>
+ asset
</button>
</div>
</div>
</div>
: ""}
</ReactCSSTransitionGroup>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question