We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c69ae1a commit 799fa89Copy full SHA for 799fa89
src/mixins/dropdown.js
@@ -136,7 +136,8 @@ export default {
136
cancelable: true,
137
vueTarget: this,
138
target: this.$refs.menu,
139
- relatedTarget: null
+ relatedTarget: null,
140
+ componentId: this.safeId ? this.safeId() : this.id || null
141
})
142
this.emitEvent(bvEvt)
143
if (bvEvt.defaultPrevented) {
@@ -334,7 +335,11 @@ export default {
334
335
if (this.visible) {
336
this.hide(true)
337
} else {
- this.show()
338
+ // Allow time for any other dropdown to close if
339
+ // focus moves from dropdown to dropdown
340
+ this.$nextTick(() => {
341
+ this.show()
342
+ })
343
}
344
},
345
// Called only in split button mode, for the split button
0 commit comments