|
|
@@ -596,6 +596,9 @@ class Timeline extends LitElement {
|
|
|
this.selectedList = [];
|
|
|
}
|
|
|
private _clearSelectionHandler = (_e: MouseEvent) => {
|
|
|
+ const exclusionZone = document.querySelectorAll("[jc-timeline-keep-select]");
|
|
|
+ if (Array.from(exclusionZone).some((e) => e.contains(_e.target as Node))) return;
|
|
|
+
|
|
|
this.clearSelectedItems();
|
|
|
const myEvent = new CustomEvent("item-selected", {
|
|
|
detail: { items: [] },
|