diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index 06c18fd..db525ff 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -265,6 +265,7 @@ const StoryModal = forwardRef( ( { ctx.x = x.value; ctx.userId = userId.value; + paused.value = true; }, onActive: ( e, ctx ) => { @@ -340,6 +341,7 @@ const StoryModal = forwardRef( ( { ctx.vertical = false; ctx.userId = undefined; hideElements.value = false; + paused.value = false; }, } );