Skip to content

[elistbox] fix wrap-around logic for selection movement at boundaries - #1300

Closed
DimitarCC wants to merge 2 commits into
OpenViX:Developerfrom
DimitarCC:elistbox-wrap-issue-fix
Closed

[elistbox] fix wrap-around logic for selection movement at boundaries#1300
DimitarCC wants to merge 2 commits into
OpenViX:Developerfrom
DimitarCC:elistbox-wrap-issue-fix

Conversation

@DimitarCC

Copy link
Copy Markdown
Contributor

This pull request updates the selection wrap-around logic in the eListbox component to improve accuracy and user experience when navigating between pages. The conditions for wrapping around at the beginning and end of the list have been refined to trigger only when the selection is at the very first or last entry, rather than at the start or end of a page.

Selection wrap-around logic improvements:

  • In eListbox::moveSelection, the wrap-around when moving up (pageUp/prevPage) now only occurs if the selection is at the very first entry, instead of anywhere on the first page.
  • Similarly, the wrap-around when moving down (pageDown/nextPage) now only occurs if the selection is at the very last entry, instead of anywhere on the last page.

@Huevos Huevos closed this Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants