@eturnity/eturnity_reusable_components 6.33.1-EPDM-5205 → 6.33.1-EPDM-5205.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -504,8 +504,13 @@ export default {
|
|
504
504
|
}
|
505
505
|
},
|
506
506
|
methods: {
|
507
|
-
toggleOpen() {
|
508
|
-
if (
|
507
|
+
toggleOpen(event) {
|
508
|
+
if (
|
509
|
+
this.isDisabled ||
|
510
|
+
(event &&
|
511
|
+
!(event.target === this.$el) &&
|
512
|
+
!this.$el.contains(event.target))
|
513
|
+
) {
|
509
514
|
return
|
510
515
|
}
|
511
516
|
this.wasClicked = false
|