From cd2372fa6152a465ca4c32c98ee2658087ddf3b1 Mon Sep 17 00:00:00 2001 From: Alexandre Balhier Date: Tue, 12 Apr 2016 17:41:52 +0200 Subject: [PATCH] Fix for #841: replace isEqualNode by strict equality IsEqualNode is not available in IE8 and cannot be shimmed. --- src/Select.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Select.js b/src/Select.js index 2fd98ef711..8e24e9e152 100644 --- a/src/Select.js +++ b/src/Select.js @@ -323,7 +323,7 @@ const Select = React.createClass({ }, handleInputBlur (event) { - if (this.refs.menu && document.activeElement.isEqualNode(this.refs.menu)) { + if (this.refs.menu && document.activeElement === this.refs.menu) { this.focus(); return; }