Skip to content

Commit

Permalink
NAS-126907: No possibility so select ix-explorer items via Tab key (#…
Browse files Browse the repository at this point in the history
…10792)

(cherry picked from commit 8de4cae)

Co-authored-by: Alex Karpov <[email protected]>
  • Loading branch information
bugclerk and AlexKarpov98 authored Oct 3, 2024
1 parent 9aae8f5 commit d50714e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
[attr.aria-label]="ariaLabel(node)"
[class.selected]="isPathSelected(node.data.path)"
(keyup.enter)="node?.toggleSelected()"
(keyup.space)="node?.toggleExpanded()"
(keydown.space)="$event.preventDefault(); node?.toggleExpanded()"
>
@if (node.data.type === ExplorerNodeType.File) {
<ix-icon name="insert_drive_file"></ix-icon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
}

.tree-node {
// Wrap long file names
word-break: break-all;
}

Expand All @@ -71,6 +70,10 @@

.node-container {
display: flex;

&:focus-visible {
outline: 1.5px solid var(--primary);
}
}
}

Expand Down

0 comments on commit d50714e

Please sign in to comment.