forked from MapComplete/MapComplete
UX: remove trapFocus as it causes bugs
This commit is contained in:
parent
72d10863b8
commit
19c57ffce0
4 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue