This commit is contained in:
Daniel Miedzik 2021-10-21 17:26:47 +02:00 committed by GitHub
commit 51cd4ec342
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
}