mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #580] List PgDn / PgUp semantics are inverted when hitting the list item boundary conditions #424
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#424
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 @berrange on GitHub (Mar 15, 2021).
Original GitHub issue: https://github.com/rivo/tview/issues/580
When there are further items off screen, PgDn will move down to select the next set of items, but when there are no further items, PgDn will do the inverse and select the first item, instead of selecting the last item.
Similarly, when there are previous items off screen, PgUp will move up to select the previous set of items, but when there are no further items, PgUp will do the inverse and select the last item, instead of selecting the first item
This gets particularly confusing in the common case where all items fit on the screen - PgDn always selects the first item, while PgUp always selects the last item - which is opposite of what people are expecting.
@rivo commented on GitHub (Apr 26, 2021):
Makes sense. Thanks.