Skip to content

Commit 540ef98

Browse files
authored
Update dropdown.js
1 parent 9bd1e5a commit 540ef98

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/mixins/dropdown.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,6 @@ export default {
346346
if (key === KeyCodes.ESC) {
347347
// Close on ESC
348348
this.onEsc(evt)
349-
} else if (key === KeyCodes.TAB) {
350-
// Close on tab out
351-
/* istanbul ignore next: not used and should be removed */
352-
this.onTab(evt)
353349
} else if (key === KeyCodes.DOWN) {
354350
// Down Arrow
355351
this.focusNext(evt, false)
@@ -367,14 +363,6 @@ export default {
367363
this.$once('hidden', this.focusToggler)
368364
}
369365
},
370-
onTab(evt) /* istanbul ignore next: not easy to test */ {
371-
// TODO: Need special handler for dealing with form inputs
372-
// Tab, if in a text-like input, we should just focus next item in the dropdown
373-
// Note: Inputs are in a special .dropdown-form container
374-
},
375-
onMouseOver(evt) /* istanbul ignore next: not easy to test */ {
376-
// Removed mouseover focus handler
377-
},
378366
// Document click out listener
379367
clickOutHandler() {
380368
if (this.visible) {

0 commit comments

Comments
 (0)