fix(frontend): disable active interaction to avoid broken state (#2675)

* fix(frontend): disable active interaction to avoid broken state

* fix(frontend): id tutorial id
This commit is contained in:
Faton Ramadani
2023-11-22 12:49:50 +01:00
committed by GitHub
parent c42c54e69b
commit bfdb559b47
2 changed files with 2 additions and 1 deletions
@@ -35,7 +35,7 @@
>
<Cross class="mx-[5px]" size={15} />
</button>
<div id="flow-editor-insert-module ">
<div id="flow-editor-insert-module">
{#if !disableAi}
<StepGen {index} bind:funcDesc bind:open {close} {modules} />
{/if}
@@ -38,6 +38,7 @@
const tutorial = driver({
showProgress: true,
allowClose: true,
disableActiveInteraction: true,
onPopoverRender: (popover, { config, state }) => {
if (state.activeIndex == 0) {
const skipThisButton = createTutorialButton('Mark this tutorial as completed', () => {