Ensure tour popover disappears when finished (#9517)

This commit is contained in:
Andrew Kingston 2023-02-02 11:14:40 +00:00 committed by GitHub
parent 44364ec5dc
commit 238c25327d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 45 additions and 43 deletions

View File

@ -108,7 +108,8 @@
}
</script>
{#key tourStepKey}
{#if tourKey}
{#key tourStepKey}
<Popover
align={tourStep?.align}
bind:this={popover}
@ -151,7 +152,8 @@
</Layout>
</div>
</Popover>
{/key}
{/key}
{/if}
<style>
.tour-content {