mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-11 11:06:16 -08:00
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:
1 parent
0ba5107561
commit
eb602db5fc
44 files changed
+950
-49
No files matched your search
+2
-1
@@ -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
|
||||
"
|
||||
|
||||
+3
@@ -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());
|
||||
|
||||
Reference in new issue
Block a user