mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4259 - Dropdown: Click on icon line is ignored
This commit is contained in:
parent
0e125d92b4
commit
a7885f3abf
1 changed files with 1 additions and 1 deletions
|
@ -405,7 +405,7 @@ export default {
|
|||
return;
|
||||
}
|
||||
|
||||
if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.tagName === 'path') {
|
||||
if (event.target.tagName === 'INPUT' || event.target.getAttribute('data-pc-section') === 'clearicon' || event.target.closest('[data-pc-section="clearicon"]')) {
|
||||
return;
|
||||
} else if (!this.overlay || !this.overlay.contains(event.target)) {
|
||||
this.overlayVisible ? this.hide(true) : this.show(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue