Skip to content

Commit

Permalink
Bugfix: Allow tab to un/mount with transition
Browse files Browse the repository at this point in the history
  • Loading branch information
fungjj92 committed Aug 21, 2019
1 parent 9b5a8be commit 7996b7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TabPane.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ const TabPane = React.forwardRef((props, ref) => {

const prefix = useBootstrapPrefix(bsPrefix, 'tab-pane');

if (!active && unmountOnExit) return null;
if (!active && !transition && unmountOnExit) return null;

let pane = (
<Component
Expand Down

0 comments on commit 7996b7c

Please sign in to comment.