Skip to content

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

Closed

Description

@Pointedstick

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

Activity

  1. added
    bug
    on Sep 12, 2023
  2. juliusknorr commented on Sep 13, 2023

    @juliusknorr
    Member

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

  3. juliusknorr commented on Sep 13, 2023

    @juliusknorr
    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.

  4. Pointedstick commented on Sep 14, 2023

    @Pointedstick
    Author

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

  5. juliusknorr commented on Sep 14, 2023

    @juliusknorr
    Member

    Yes, it should be there since 27.0.1

  6. Pointedstick commented on Sep 17, 2023

    @Pointedstick
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions