This commit is contained in:
Daniel Miedzik 2021-10-21 13:03:05 +02:00
commit bca2bbd36c

View file

@ -165,12 +165,14 @@
<svelte:window
on:mousedown="{({ target }) => {
if (open && target.contains(refTooltip)) {
if (open) {
if (target.contains(refTooltip)) {
if (refIcon) {
refIcon.focus();
} else if (ref) {
ref.focus();
}
}
open = false;
}