fix(ui): restore channel and detail keyboard scrolling (#1542)

* fix(ui): restore channel and detail keyboard scrolling

* test(ui): drag below the Windows scrollbar arrow
This commit is contained in:
4gray authored and GitHub committed 2026-09-05 15:02:57 +02:00
1 parent 0ba5107561
commit eb602db5fc
44 files changed
+950 -49

No files matched your search

@@ -1,5 +1,5 @@
@if (items().length > 0) {
<div class="nav-list">
<div class="nav-list" id="portal-categories">
@if (statusText()) {
<div class="context-inline-status">
{{ statusText() }}
@@ -9,6 +9,7 @@
<button
type="button"
class="nav-item category-item"
(keydown)="focusLiveChannels($event)"
[attr.data-category-id]="
$any(item).category_id ?? $any(item).xtream_id ?? item.id
"
@@ -1,3 +1,4 @@
import { focusLiveChannels } from '@iptvnator/ui/components';
import {
ChangeDetectionStrategy,
Component,
@@ -27,6 +28,8 @@ interface WorkspaceCategoryViewItem {
styleUrl: './workspace-context-category-view.component.scss',
})
export class WorkspaceContextCategoryViewComponent {
readonly focusLiveChannels = focusLiveChannels;
readonly items = input<ReadonlyArray<WorkspaceCategoryViewItem>>([]);
readonly selectedCategoryId = input<string | number | null | undefined>();
readonly itemCounts = input<Map<number, number>>(new Map());