FIX: closes popover when downloading calendar (#16598)
This commit is contained in:
parent
9fc3d46003
commit
f86b53778d
|
@ -246,6 +246,13 @@ export default {
|
||||||
endsAt: dataset.endsAt,
|
endsAt: dataset.endsAt,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
// TODO: remove this when rewriting preview as a component
|
||||||
|
const parentPopover = event.target.closest("[data-tippy-root]");
|
||||||
|
if (parentPopover?._tippy) {
|
||||||
|
parentPopover._tippy.hide();
|
||||||
|
}
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue