Skip to content

fix: using scroll wheel or CTRL + U listtable properly selects row 1#28

Open
tannerellen wants to merge 1 commit into
kenan238:masterfrom
tannerellen:listtable-vim-keys-bug
Open

fix: using scroll wheel or CTRL + U listtable properly selects row 1#28
tannerellen wants to merge 1 commit into
kenan238:masterfrom
tannerellen:listtable-vim-keys-bug

Conversation

@tannerellen
Copy link
Copy Markdown

@tannerellen tannerellen commented Dec 4, 2025

Using a list table element and navigating in the list with CTRL + U or using the scroll wheel it would select the header row. This is because it was only properly trapping against row 0 if it was set to exactly row 0. Simply changing the check to look at <= 0 fixes this so regardless of navigation method you can never select less than row 1 on a list table.

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