Skip to content

Support all MoveType::ViewportPos values in ListState - #239

Merged
ulyssa merged 1 commit into
mainfrom
ulyssa/list-state-hml
Sep 27, 2026
Merged

ulyssa merged 1 commit into
mainfrom
ulyssa/list-state-hml

Conversation

@ulyssa

@ulyssa ulyssa commented Sep 27, 2026 •

Copy link
Copy Markdown
Owner

I had initially skipped implementing MovePosition::Middle and MovePosition::End for MoveType::ViewportPos in ListState because it didn't have access to the store and therefore couldn't call ListItem::show, but it doesn't really need to do that since we can just save the ListCursor for the very last row each render.

This will allow using M and L to move around lists.

@ulyssa
ulyssa merged commit f3f182a into main Sep 27, 2026
4 checks passed
@ulyssa
ulyssa deleted the ulyssa/list-state-hml branch September 27, 2026 04:03
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.

1 participant