File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ export default {
135
135
}
136
136
137
137
// Disable totally Popper.js for Dropdown in Navbar
138
+ /* istnbul ignore next: can't test popper in JSDOM */
138
139
if ( ! this . inNavbar ) {
139
140
if ( typeof Popper === 'undefined' ) {
140
141
warn ( 'b-dropdown: Popper.js not found. Falling back to CSS positioning.' )
@@ -173,7 +174,7 @@ export default {
173
174
}
174
175
this . _popper = null
175
176
} ,
176
- getPopperConfig ( ) {
177
+ getPopperConfig /* istanbul ignore next: can't test popper in JSDOM */ ( ) {
177
178
let placement = AttachmentMap . BOTTOM
178
179
if ( this . dropup && this . right ) {
179
180
// dropup + right
@@ -257,6 +258,7 @@ export default {
257
258
return
258
259
}
259
260
evt . preventDefault ( )
261
+ evt . stopPropagation ( )
260
262
if ( this . disabled ) {
261
263
this . visible = false
262
264
return
You can’t perform that action at this time.
0 commit comments