fix: add ESC key support, security comment, and disable async tests
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2025-12-02 14:42:03 +01:00
parent 354029c9cc
commit 6d75766dba
Signed by: moritz
GPG key ID: 1020A035E5DD0824
3 changed files with 13 additions and 3 deletions

View file

@ -34,7 +34,13 @@ defmodule MvWeb.Components.PaymentFilterComponent do
@impl true
def render(assigns) do
~H"""
<div class="relative" id={@id}>
<div
class="relative"
id={@id}
phx-window-keydown={@open && "close_dropdown"}
phx-key="Escape"
phx-target={@myself}
>
<button
type="button"
class={[