Skip to content

Commit

Permalink
Fixed #2299 - When Multiselect inside of label tag, click on it is no…
Browse files Browse the repository at this point in the history
…t showing dropdown panel
  • Loading branch information
mertsincan committed Nov 6, 2021
1 parent 14162e6 commit 0f4683e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/multiselect/MultiSelect.js
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,8 @@ export class MultiSelect extends Component {
}

this.inputRef.current.focus();

event.preventDefault();
}
}

Expand Down

0 comments on commit 0f4683e

Please sign in to comment.