mirror of
https://github.com/tenrok/vue-select.git
synced 2026-06-16 09:10:33 +03:00
fix: Keep focus on input after select to improve accessibility (#1727)
Co-authored-by: Jeff Sagal <sagalbot@gmail.com> Huge thanks to @Pytal for the great work!
This commit is contained in:
@@ -37,6 +37,7 @@ describe('Selectable prop', () => {
|
||||
selectable: (option) => option !== 'two',
|
||||
})
|
||||
|
||||
Select.vm.open = true
|
||||
Select.vm.typeAheadPointer = 1
|
||||
|
||||
Select.findComponent({ ref: 'search' }).trigger('keydown.down')
|
||||
@@ -50,6 +51,7 @@ describe('Selectable prop', () => {
|
||||
selectable: (option) => option !== 'two',
|
||||
})
|
||||
|
||||
Select.vm.open = true
|
||||
Select.vm.typeAheadPointer = 2
|
||||
|
||||
Select.findComponent({ ref: 'search' }).trigger('keydown.up')
|
||||
|
||||
Reference in New Issue
Block a user