Skip to content

Commit

Permalink
Fixes issue yairEO#741
Browse files Browse the repository at this point in the history
  • Loading branch information
mdashti committed Feb 13, 2021
1 parent a19a397 commit 160e65d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parts/dropdown.js
Expand Up @@ -377,7 +377,8 @@ export default {
},

onClick(e){
if( e.button != 0 || e.target == this.DOM.dropdown ) return; // allow only mouse left-clicks
if( e.button != 0 || e.target == this.DOM.dropdown) return; // allow only mouse left-clicks
if( e.target.classList.contains(this.settings.classNames.dropdownWrapper)) return; // if the suggestion list is long, you still want to click on the scroller

var listItemElm = e.target.closest('.' + this.settings.classNames.dropdownItem)

Expand Down

0 comments on commit 160e65d

Please sign in to comment.