Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Mobile chat: @mousedown.prevent on send button so tapping it doesn't blur the input (which reflowed the layout and dropped the click)
Murtaza Nasirc06584afd5d9
diff --git a/templates/components/detail/floating-chat.html b/templates/components/detail/floating-chat.htmlindex 026bcb04..9f7d281f 100644--- a/templates/components/detail/floating-chat.html+++ b/templates/components/detail/floating-chat.html@@ -185,6 +185,7 @@style="resize: none;"rows="2"></textarea><button @click="sendChatMessage"+ @mousedown.prevent:disabled="!chatInput.trim() || isChatLoading || selectedRecording.status !== 'COMPLETED' || processedTranscription.isError"class="btn btn--primary btn--icon btn--lg":title="t('buttons.send') || 'Send'">diff --git a/templates/components/detail/mobile-chat-panel.html b/templates/components/detail/mobile-chat-panel.htmlindex 74206e0e..fb059a16 100644--- a/templates/components/detail/mobile-chat-panel.html+++ b/templates/components/detail/mobile-chat-panel.html@@ -52,6 +52,7 @@style="resize: none;"rows="2"></textarea><button @click="sendChatMessage"+ @mousedown.prevent:disabled="!chatInput.trim() || isChatLoading || selectedRecording.status !== 'COMPLETED' || processedTranscription.isError"class="btn btn--primary btn--icon btn--lg"><i class="fas fa-paper-plane"></i>