Skip to content

Commit 293913d

Browse files
committed
Merge pull request react-bootstrap#1436 from pivotal-cf/overlay-prop-types-warning
when overlay animation is false the transition prop passed to base ov…
2 parents 2a03c1a + 44b3b9e commit 293913d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Overlay.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ class Overlay extends React.Component {
1919
transition = Fade;
2020
}
2121

22+
if (transition === false) {
23+
transition = null;
24+
}
25+
2226
if (!transition) {
2327
child = cloneElement(child, {
2428
className: classNames('in', child.props.className)

0 commit comments

Comments
 (0)