Skip to content

Commit 0ba9f9a

Browse files
committed
bump
1 parent 55ba406 commit 0ba9f9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rc-trigger",
3-
"version": "1.6.0",
3+
"version": "1.6.1",
44
"description": "base abstract trigger component for react",
55
"keywords": [
66
"react",

src/LazyRenderBox.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const LazyRenderBox = React.createClass({
1414
const { hiddenClassName, visible, ...props } = this.props;
1515

1616
if (hiddenClassName || React.Children.count(props.children) > 1) {
17-
if (!visible) {
17+
if (!visible && hiddenClassName) {
1818
props.className += ` ${hiddenClassName}`;
1919
}
2020
return <div {...props}/>;

0 commit comments

Comments
 (0)