From e8854a26752409d251344e8c2326e025a517cfdc Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Fri, 9 Oct 2020 09:54:44 +0200 Subject: [PATCH] Fixed: Opening dropdowns --- frontend/src/Components/Form/EnhancedSelectInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Components/Form/EnhancedSelectInput.js b/frontend/src/Components/Form/EnhancedSelectInput.js index b63fd011b..8f89101f0 100644 --- a/frontend/src/Components/Form/EnhancedSelectInput.js +++ b/frontend/src/Components/Form/EnhancedSelectInput.js @@ -251,7 +251,7 @@ class EnhancedSelectInput extends Component { this._addListener(); } - if (!this.state.isOpen) { + if (!this.state.isOpen && this.props.onOpen) { this.props.onOpen(); }