UX: remove trapFocus as it causes bugs

This commit is contained in:
Pieter Vander Vennet 2024-06-16 13:09:13 +02:00
parent 72d10863b8
commit 19c57ffce0
4 changed files with 2 additions and 8 deletions

View file

@ -1,7 +1,6 @@
<script lang="ts">
import { createEventDispatcher } from "svelte"
import { XCircleIcon } from "@rgossiaux/svelte-heroicons/solid"
import { trapFocus } from "trap-focus-svelte"
/**
* The slotted element will be shown on the right side
@ -17,7 +16,6 @@
style="max-width: 100vw; max-height: 100vh"
tabindex="-1"
id="modal-right"
use:trapFocus
>
<slot name="close-button">
<button