Merge pull request #6920 from KumJungMin/fix/issue-6904
fix(DataTable): update tabIndex when targetRow existspull/6931/head
commit
dd8aa25cd7
|
@ -849,7 +849,7 @@ export default {
|
||||||
const targetRow = event.currentTarget?.closest('tr[data-p-selectable-row="true"]');
|
const targetRow = event.currentTarget?.closest('tr[data-p-selectable-row="true"]');
|
||||||
|
|
||||||
focusedItem.tabIndex = '-1';
|
focusedItem.tabIndex = '-1';
|
||||||
targetRow.tabIndex = '0';
|
if (targetRow) targetRow.tabIndex = '0';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onRowDblClick(e) {
|
onRowDblClick(e) {
|
||||||
|
|
Loading…
Reference in New Issue