-
Notifications
You must be signed in to change notification settings - Fork 42
Closed
Description
Add scrolling ability to Table and Lists components
Currently, Table and List components render all content at once, which causes poor UX when dealing with large datasets. Users cannot navigate through content that exceeds the viewport.
Why this is needed:
- Large tables/lists cause rendering slowdowns and consume excessive memory
- Users have no way to navigate content that doesn't fit on screen
- Terminal applications commonly need paginated views for logs, data tables, and long lists
How I suggest implementing it
I think the simple and elegant solution in TUI case is scrolling by item, in table by each row. The developer can set the number of items to be shown (page size) and the number of items to scroll at one time.
Current progress:
I almost implemented scrolling in SpectreTable component (currently fixing some offset issues) but I already have the ability to scroll by rows using keyboard arrows and Page Up/Down.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels