From 3ceb7af6ab57a891f7efa2233b38a11946724930 Mon Sep 17 00:00:00 2001 From: Jason Quense Date: Fri, 28 Aug 2015 09:25:02 -0400 Subject: [PATCH] [fixed] allow null activeKey (empty) selection fixes #1227 I believe --- src/Tabs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Tabs.js b/src/Tabs.js index cb06ddb363..ceb8126341 100644 --- a/src/Tabs.js +++ b/src/Tabs.js @@ -196,7 +196,7 @@ const Tabs = React.createClass({ }, getActiveKey() { - return this.props.activeKey != null ? this.props.activeKey : this.state.activeKey; + return this.props.activeKey !== undefined ? this.props.activeKey : this.state.activeKey; }, renderPane(child, index) {