Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep focused line on top of processes table when query is wrapped #268

Merged
merged 1 commit into from
Jan 14, 2022

Conversation

dlax
Copy link
Member

@dlax dlax commented Jan 11, 2022

This is an alternative proposal to #257 which (in my opinion) produces a less strange behavior.

When scrolling through processes and the query is wrapped, there is no
way to compute an offset for the table rows in order to move the cursor.
Instead, when query is wrapped, we now always display focused process on
top of the table and we wrap around the processes list (display first
processes at the end of the table).

@blogh, what do you think?

When scrolling through processes and the query is wrapped, there is no
way to compute an offset for the table rows in order to move the cursor.
Instead, when query is wrapped, we now always display focused process on
top of the table and we wrap around the processes list (display first
processes at the end of the table).
@blogh
Copy link
Collaborator

blogh commented Jan 14, 2022

Cool, I like it.

@dlax dlax merged commit e234ab3 into dalibo:master Jan 14, 2022
@dlax dlax deleted the scroll-wrapped branch January 14, 2022 09:37
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