Fix keyboard navigation for the map if the focus is not on the main map element

This commit is contained in:
Pieter Vander Vennet 2023-12-12 17:08:59 +01:00
parent 512a0b87ac
commit a20f6a2d27
5 changed files with 183 additions and 149 deletions

View file

@ -11,6 +11,7 @@
<button
on:click={(e) => dispatch("click", e)}
on:keydown
class={twJoin("pointer-events-auto m-0.5 h-fit w-fit rounded-full p-0.5 sm:p-1 md:m-1", cls)}
>
<slot />