Fixed #4988 - DataTable - sortable header with InputText

pull/4992/head
tugcekucukoglu 2023-12-20 17:32:30 +03:00
parent 4d83ee668e
commit 8210372279
1 changed files with 1 additions and 1 deletions

View File

@ -477,7 +477,7 @@ export default {
DomHandler.getAttribute(targetNode, 'data-pc-section') === 'sorticon' ||
DomHandler.getAttribute(targetNode.parentElement, 'data-pc-section') === 'sorticon' ||
DomHandler.getAttribute(targetNode.parentElement.parentElement, 'data-pc-section') === 'sorticon' ||
(targetNode.closest('[data-p-sortable-column="true"]') && !targetNode.closest('[data-pc-section="filtermenubutton"]'))
(targetNode.closest('[data-p-sortable-column="true"]') && !targetNode.closest('[data-pc-section="filtermenubutton"]') && !DomHandler.isClickable(event.target))
) {
DomHandler.clearSelection();