-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes primefaces/primevue#4861
- Loading branch information
Showing
3 changed files
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,9 @@ | |
"ignoreMissing": [ | ||
"primeicons" | ||
] | ||
}, | ||
"patchedDependencies": { | ||
"[email protected]": "patches/[email protected]" | ||
} | ||
}, | ||
"engines": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/multiselect/index.mjs b/multiselect/index.mjs | ||
index bbe16fb37e386775a93158133e04db6619d11ca7..592ee6c5347269ef6a058f74740d2a580ec75208 100644 | ||
--- a/multiselect/index.mjs | ||
+++ b/multiselect/index.mjs | ||
@@ -747,7 +747,8 @@ var script = { | ||
} | ||
}, | ||
isOutsideClicked: function isOutsideClicked(event) { | ||
- return !(this.$el.isSameNode(event.target) || this.$el.contains(event.target) || this.overlay && this.overlay.contains(event.target)); | ||
+ const path = event.composedPath(); | ||
+ return !(path.includes(this.$el) || (this.overlay && path.includes(this.overlay))); | ||
}, | ||
getLabelByValue: function getLabelByValue(value) { | ||
var _this9 = this; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.