Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 4858171

Browse files
committed
WIP
1 parent 910e8e0 commit 4858171

File tree

4 files changed

+15
-8
lines changed

4 files changed

+15
-8
lines changed

docs/src/List/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,11 @@ class ListExample extends React.Component {
115115
<ComponentExample>
116116
<div className="row row-flex">
117117
<div className="column-9">
118-
<List content={this.getComplexNestedList()} tag="ol" />
118+
<List
119+
transition={true}
120+
content={this.getComplexNestedList()}
121+
tag="ol"
122+
/>
119123
</div>
120124
<div className="column-3">
121125
<button

src/Dropdown/Dropdown.js

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -396,17 +396,18 @@ class Dropdown extends Util.mixin(BindMixin) {
396396
);
397397
}
398398

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+
// }
406406

407407
if (props.transition) {
408408
dropdownMenu = (
409409
<CSSTransition
410+
in={state.isOpen && !state.renderHidden}
410411
classNames={transitionName}
411412
timeout={{
412413
enter: props.transitionEnterTimeout,

src/List/List.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class List extends React.Component {
5757
if (props.transition) {
5858
return (
5959
<CSSTransition
60+
in={true}
6061
className={props.className}
6162
classNames={props.transitionName}
6263
timeout={{

src/Modal/ModalContents.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ class ModalContents extends Util.mixin(BindMixin) {
382382

383383
return (
384384
<CSSTransition
385+
in={props.open}
385386
appear={props.transitionAppear}
386387
enter={props.transitionEnter}
387388
exit={props.transitionExit}

0 commit comments

Comments
 (0)