From 502e2bd0e7d7a18a2a0bd2db3eeedde28afbdfd8 Mon Sep 17 00:00:00 2001 From: Ramkrishan patidar Date: Tue, 21 Nov 2017 17:27:43 +0530 Subject: [PATCH] hide popup when select box is disabled --- src/Select.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Select.jsx b/src/Select.jsx index 44b4ce28..e9600840 100644 --- a/src/Select.jsx +++ b/src/Select.jsx @@ -926,7 +926,7 @@ class Select extends Component { halfCheckedValues={this.halfCheckedValues} multiple={multiple} disabled={disabled} - visible={state.open} + visible={state.open && !disabled} inputValue={state.inputValue} inputElement={this.getInputElement()} value={state.value}