forked from MapComplete/MapComplete
Fix keyboard navigation for the map if the focus is not on the main map element
This commit is contained in:
parent
512a0b87ac
commit
a20f6a2d27
5 changed files with 183 additions and 149 deletions
|
@ -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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue