This repository was archived by the owner on Oct 23, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,11 @@ class ListExample extends React.Component {
115
115
< ComponentExample >
116
116
< div className = "row row-flex" >
117
117
< div className = "column-9" >
118
- < List content = { this . getComplexNestedList ( ) } tag = "ol" />
118
+ < List
119
+ transition = { true }
120
+ content = { this . getComplexNestedList ( ) }
121
+ tag = "ol"
122
+ />
119
123
</ div >
120
124
< div className = "column-3" >
121
125
< button
Original file line number Diff line number Diff line change @@ -396,17 +396,18 @@ class Dropdown extends Util.mixin(BindMixin) {
396
396
) ;
397
397
}
398
398
399
- if ( state . renderHidden ) {
400
- dropdownMenu = (
401
- < div key = "concealer" className = "dropdown-menu-concealer" >
402
- { dropdownMenu }
403
- </ div >
404
- ) ;
405
- }
399
+ // if (state.renderHidden) {
400
+ // dropdownMenu = (
401
+ // <div key="concealer" className="dropdown-menu-concealer">
402
+ // {dropdownMenu}
403
+ // </div>
404
+ // );
405
+ // }
406
406
407
407
if ( props . transition ) {
408
408
dropdownMenu = (
409
409
< CSSTransition
410
+ in = { state . isOpen && ! state . renderHidden }
410
411
classNames = { transitionName }
411
412
timeout = { {
412
413
enter : props . transitionEnterTimeout ,
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ class List extends React.Component {
57
57
if ( props . transition ) {
58
58
return (
59
59
< CSSTransition
60
+ in = { true }
60
61
className = { props . className }
61
62
classNames = { props . transitionName }
62
63
timeout = { {
Original file line number Diff line number Diff line change @@ -382,6 +382,7 @@ class ModalContents extends Util.mixin(BindMixin) {
382
382
383
383
return (
384
384
< CSSTransition
385
+ in = { props . open }
385
386
appear = { props . transitionAppear }
386
387
enter = { props . transitionEnter }
387
388
exit = { props . transitionExit }
You can’t perform that action at this time.
0 commit comments