Skip to content

Commit

Permalink
Merge pull request #44 from stavenko/master
Browse files Browse the repository at this point in the history
Remove PanelContent from DOM if it's Panel inactive
  • Loading branch information
shepherdwind committed Apr 18, 2017
2 parents 85c476c + d57f083 commit e99c100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PanelContent.jsx
Expand Up @@ -23,7 +23,7 @@ class PanelContent extends Component {
className={contentCls}
role="tabpanel"
>
<div className={`${prefixCls}-content-box`}>{children}</div>
{isActive?<div className={`${prefixCls}-content-box`}>{children}</div>: null}
</div>
);
}
Expand Down

0 comments on commit e99c100

Please sign in to comment.