Skip to content
8 changes: 7 additions & 1 deletion resources/js/components/ui/Stack/Stack.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
{ '-translate-x-4 rtl:translate-x-4': isHovering }
]"
>
<slot name="default" :depth="depth" :close="close" />
<FocusScope trapped loop>
<slot name="default" :depth="depth" :close="close" />
</FocusScope>
</div>
</transition>
</div>
Expand All @@ -40,7 +42,11 @@
</template>

<script>
import { FocusScope } from 'reka-ui';

export default {
components: { FocusScope },

emits: ['closed', 'opened'],

props: {
Expand Down
Loading