mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: closes popover when downloading calendar (#16598)
This commit is contained in:
parent
9fc3d46003
commit
f86b53778d
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue