From ad0724d571ba412c677dce023f401ba929c011c6 Mon Sep 17 00:00:00 2001 From: Jonas Haag Date: Fri, 3 Feb 2017 11:33:30 +0100 Subject: [PATCH] Fix openOnFocus --- src/Select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Select.js b/src/Select.js index 4dec02ba69..fc09e715f0 100644 --- a/src/Select.js +++ b/src/Select.js @@ -360,7 +360,7 @@ const Select = React.createClass({ }); } else { // otherwise, focus the input and open the menu - this._openAfterFocus = true; + this._openAfterFocus = this.props.openOnFocus; this.focus(); } },