From d55e957eeaed55ce9e6a8813c6b4771f896b74ea Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Tue, 24 Feb 2026 16:56:13 +0000 Subject: [PATCH] Autofocus message input when opening chat --- lib/music_library_web/components/chat.ex | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/music_library_web/components/chat.ex b/lib/music_library_web/components/chat.ex index a0ecc297..06004d4c 100644 --- a/lib/music_library_web/components/chat.ex +++ b/lib/music_library_web/components/chat.ex @@ -146,6 +146,7 @@ defmodule MusicLibraryWeb.Components.Chat do class="flex-1" disabled={@loading} autocomplete="off" + autofocus /> <.button type="submit"