Skip to content

Commit

Permalink
bug fix for select closing when multiple prop used
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Apr 16, 2017
1 parent 4eb11c6 commit 5be0050
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/menus/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,8 @@ export default {
'class': { 'menu__content': true },
on: {
click: e => {
e.stopPropagation()
if (this.closeOnContentClick) {
e.stopPropagation()
this.isActive = false
}
}
Expand Down
1 change: 0 additions & 1 deletion src/components/selects/mixins/generators.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default {
ref: 'menu',
props: {
auto: this.auto,
closeOnClick: !this.multiple,
closeOnContentClick: !this.multiple,
disabled: this.disabled,
offsetY: this.autocomplete || this.offset,
Expand Down

0 comments on commit 5be0050

Please sign in to comment.