diff --git a/components/lib/datatable/DataTable.vue b/components/lib/datatable/DataTable.vue index 931878a38..ab3f4908b 100755 --- a/components/lib/datatable/DataTable.vue +++ b/components/lib/datatable/DataTable.vue @@ -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';