fix: update tabIndex when targetRow exists
parent
1aa7a026e9
commit
8be5001bab
|
@ -849,7 +849,7 @@ export default {
|
|||
const targetRow = event.currentTarget?.closest('tr[data-p-selectable-row="true"]');
|
||||
|
||||
focusedItem.tabIndex = '-1';
|
||||
targetRow.tabIndex = '0';
|
||||
if (targetRow) targetRow.tabIndex = '0';
|
||||
}
|
||||
},
|
||||
onRowDblClick(e) {
|
||||
|
|
Loading…
Reference in New Issue