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

Inserting a newline into a paragraph that's cut off by the top of the viewport scrolls to the wrong location #126

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

Comments

@davidbalbert
Copy link
Owner

To reproduce

  1. Put the cursor into a multi-line paragraph.
  2. Scroll down so that paragraph is partially out of the viewport but the cursor is still in the viewport
  3. Press return

Expected behavior

The document doesn't scroll

Actual behavior

The document scrolls so the cursor is at the top of the viewport.

@davidbalbert davidbalbert added the bug Something isn't working label Mar 31, 2024
@davidbalbert davidbalbert added this to the Basic 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