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

Fix scroll page #4916

Merged
merged 5 commits into from
Aug 22, 2024
Merged

Fix scroll page #4916

merged 5 commits into from
Aug 22, 2024

Conversation

willmcgugan
Copy link
Collaborator

Fixes #4914


def test_scroll_page_down(snap_compare):
"""Regression test for https://github.com/Textualize/textual/issues/4914"""
# Should show 25 at the top
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a reminder that if you write the comment in the docstring, it'll appear in the snapshot report now which is really handy if the test fails.

Also, you can inline the app if you want and just pass in the instance rather than putting it in a separate file.

@willmcgugan willmcgugan merged commit 7ea10ce into main Aug 22, 2024
20 checks passed
@willmcgugan willmcgugan deleted the fix-scroll-page branch August 22, 2024 10:12
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.

ScrollView/RichLog: Page Up / Page Down off by one with horizontal scrollbar
2 participants