We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf4fae0 + 13fa4df commit bfe1d41Copy full SHA for bfe1d41
src/svelte/components/MarkerPopup.svelte
@@ -82,7 +82,7 @@
82
83
onMount(() => {
84
marker.tags.forEach(c => _cont.classList.add(c));
85
- tick().then(() => _cont.querySelector('button')?.focus());
+ setTimeout(() => _cont.querySelector('button')?.focus(), 500);
86
const embeds = 'embedImages' in marker ? marker.embedImages as Models.ImageData.Embed[] : undefined;
87
if(embeds) micrio.$current?.data.update(d => {
88
if(!d) d = {embeds:[]};
0 commit comments