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

Opening a long markdown document scrolls the view to the bottom #4792

Closed
Pointedstick opened this issue Sep 12, 2023 · 5 comments
Closed

Opening a long markdown document scrolls the view to the bottom #4792

Pointedstick opened this issue Sep 12, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@Pointedstick
Copy link

Describe the bug
When opening a text document, the view is scrolled down to the bottom. This is annoying for frequently-updated documents where new content is prepended to the top, not appended to the bottom.

To Reproduce
Steps to reproduce the behavior:

  1. Create a .md markdown document and enter a large amount of text into it, enough to make it scrollable
  2. Close the document
  3. Open it again

Expected behavior
The view is showing the beginning of the file.

Server details:

  • Nextcloud version: 27

Client details:

  • OS: Fedora KDE 38
  • Browser: Firefox
  • Browser version: 117.0
  • Device: Lenovo ThinkPad X1 Yoga laptop
@Pointedstick Pointedstick added the bug Something isn't working label Sep 12, 2023
@juliushaertl
Copy link
Member

Which exact version are you running? This should have been fixed in the latest 27 release by #4544

@juliushaertl
Copy link
Member

One additional thought, if you just paste the long text the cursor might be left at the end when closing the document so then it would still be restored to the very end.

@Pointedstick
Copy link
Author

We are using version 27. Is it fixed in a bugfix release?

@juliushaertl
Copy link
Member

Yes, it should be there since 27.0.1

@Pointedstick
Copy link
Author

Indeed, we have just upgraded to that version and I can confirm the issue is resolved now. Thanks so much!

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

2 participants