Skip to content

A self-hosted media server and file management system

fix: transcript navbar button is tabbable when hidden

aminnausinf8b678556701
diff --git a/resources/js/components/panels/NavBar.vue b/resources/js/components/panels/NavBar.vue
index 7133f942..5cb5e596 100755
--- a/resources/js/components/panels/NavBar.vue
+++ b/resources/js/components/panels/NavBar.vue
@@ -183,7 +183,8 @@ watch(isDesktop, (now) => {
title="Toggle Transcript"
:label="'Transcript'"
:active="selectedSideBar === 'transcript'"
- :class="cn('transition-reveal overflow-hidden p-0', selectedSideBar === 'transcript' ? 'mx-0 w-8 opacity-100' : '-mx-0.5 w-0 opacity-0')"
+ :class="cn('transition-reveal overflow-hidden p-0', selectedSideBar === 'transcript' ? 'mx-0 w-8 opacity-100' : 'pointer-events-none -mx-0.5 w-0 opacity-0')"
+ :tabindex="selectedSideBar === 'transcript' ? 0 : -1"
@click="isShowingTranscript = false"
>
<ProiconsTextAlignLeft class="size-6" stroke-width="0.0" />