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

pageUpAndModifySelection: doesn't always center selection in viewport #127

Open
davidbalbert opened this issue Mar 31, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@davidbalbert
Copy link
Owner

davidbalbert commented Mar 31, 2024

To reproduce

  1. Drag the scroller and scroll down to the bottom of the document
  2. Click to put the insertion point into the viewport
  3. Press Fn-Shift-Up multiple times.

Expected result

The head of the selection is always in the viewport.

Actual result

Sometimes the selection is not visible in the viewport.

This bug was present before the big scroll-correction refactoring that introduced ScrollManager (#128), but it seems worse now than it was before.

@davidbalbert davidbalbert added the bug Something isn't working label Mar 31, 2024
@davidbalbert davidbalbert added this to the Enhanced text editing milestone Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant