From 0f4683e5f1d3d76748a90db1f40c9a1435a784bd Mon Sep 17 00:00:00 2001 From: mertsincan Date: Sat, 6 Nov 2021 22:51:52 +0300 Subject: [PATCH] Fixed #2299 - When Multiselect inside of label tag, click on it is not showing dropdown panel --- src/components/multiselect/MultiSelect.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/multiselect/MultiSelect.js b/src/components/multiselect/MultiSelect.js index a79a6a79c3..943d633f3b 100644 --- a/src/components/multiselect/MultiSelect.js +++ b/src/components/multiselect/MultiSelect.js @@ -264,6 +264,8 @@ export class MultiSelect extends Component { } this.inputRef.current.focus(); + + event.preventDefault(); } }