Fixed #4498 - Datatable: Cannot set properties of null (setting 'tabIndex')
parent
c8e065e73a
commit
4934e0e146
|
@ -787,6 +787,8 @@ export default {
|
|||
this.rowTouched = false;
|
||||
|
||||
if (focusedItem) {
|
||||
if (e.originalEvent.target.getAttribute('data-pc-section') === 'rowtogglericon' || e.originalEvent.target.parentElement.getAttribute('data-pc-section') === 'rowtogglericon') return;
|
||||
|
||||
const targetRow = e.originalEvent.target.closest('tr[data-p-selectable-row="true"]');
|
||||
|
||||
focusedItem.tabIndex = '-1';
|
||||
|
|
Loading…
Reference in New Issue