mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 13:25:51 +03:00
[GH-ISSUE #814] table scroll past selected area #594
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#594
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @0xRoM on GitHub (Feb 22, 2023).
Original GitHub issue: https://github.com/rivo/tview/issues/814
Hi, I've setup the demo lorum ipsum table inside a flex and get a scroll bar.
if I click the first row I cant scroll down, if I click the 3rd row I can scroll down until the selected one is at the top, I cant scroll the selected out of view.
the same goes at the bottom, if I select the bottom row I cant scroll up.
is this intended? how can I make it so I can scroll the entire table?
when the app is first launched and the 1st row is selected (a static row) then the whole table is scrollable, however that row cant be selected again as it just reorders by the column.
@rivo commented on GitHub (Mar 25, 2023):
Can you post the source code to reproduce this?
@RossMarks-IRM commented on GitHub (Mar 25, 2023):
I fixed it by not having a selected row and instead changing the color of the current row clicked on with SetSelectionChangedFunc