Skip to content

Commit

Permalink
fix(search): Add the buttons so keyboard users can tab to the filter
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen authored and backportbot-nextcloud[bot] committed Aug 10, 2023
1 parent 4bbca0a commit d06b8eb
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/components/LeftSidebar/LeftSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,10 @@

<TransitionGroup name="radial-reveal">
<!-- Filters -->
<div v-show="!isFocused" key="filters" class="filters">
<div v-show="searchText === ''"
key="filters"
class="filters"
:class="{'hidden-visually': isFocused}">
<NcActions class="filter-actions"
:primary="isFiltered !== null">
<template #icon>
Expand Down Expand Up @@ -76,9 +79,10 @@
</div>

<!-- Actions -->
<div v-show="!isFocused"
<div v-show="searchText === ''"
key="actions"
class="actions">
class="actions"
:class="{'hidden-visually': isFocused}">
<NcActions class="conversations-actions">
<template #icon>
<DotsVertical :size="20" />
Expand Down

0 comments on commit d06b8eb

Please sign in to comment.