Fixed #3571 - DataTable: tabbing error with row select and expanded rows enabled
parent
142789ba42
commit
d900c85670
|
@ -1117,7 +1117,7 @@ export default {
|
||||||
|
|
||||||
if (firstSelectedRow) {
|
if (firstSelectedRow) {
|
||||||
firstSelectedRow.tabIndex = '0';
|
firstSelectedRow.tabIndex = '0';
|
||||||
focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
|
focusedItem && focusedItem !== firstSelectedRow && (focusedItem.tabIndex = '-1');
|
||||||
} else {
|
} else {
|
||||||
rows[0].tabIndex = '0';
|
rows[0].tabIndex = '0';
|
||||||
focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
|
focusedItem !== rows[0] && (rows[rowIndex].tabIndex = '-1');
|
||||||
|
|
Loading…
Reference in New Issue