diff --git a/lib/Suggestions.js b/lib/Suggestions.js index fa0ba74..885d8be 100644 --- a/lib/Suggestions.js +++ b/lib/Suggestions.js @@ -40,6 +40,11 @@ class Suggestions extends React.Component { this.props.addTag(item) } + handleListMouseDown (e) { + // Fix for clicking scroll bars casuing the suggestions drop down to close + e.preventDefault() + } + render () { if (!this.props.expandable || !this.state.options.length) { return null @@ -72,7 +77,7 @@ class Suggestions extends React.Component { return (