Fixed tab key navigation for some dialogs. Fixes #5371

This commit is contained in:
Pradip Parkale
2020-04-14 13:32:03 +05:30
committed by Akshay Joshi
parent 21cb1a0166
commit a05acb4f99
9 changed files with 83 additions and 61 deletions

View File

@@ -833,6 +833,12 @@ define([
// go to Next Cell & if Shift is also pressed go to Previous Cell
if (e.keyCode == 9 || e.keyCode == 16) {
gotoCell = e.shiftKey ? self.$el.prev() : self.$el.next();
if (self.$el.next().length == 0){
setTimeout(function() {
self.$el.find('.select2-selection').blur();
}, 100);
}
}
if (gotoCell) {