Boostnote: MD editor scrolls to the top whenever I add new content

Created on 23 May 2019  ·  24Comments  ·  Source: BoostIO/Boostnote


Issuehunt badges

Current behavior

When I add new content or even type an enter in the text under MD document, the editor always scrolls to the top of the document.

Expected behavior

Page should stay where the cursor is placed.

Steps to reproduce

Open a long MD file and try to edit it at the end.

Environment

  • Version : Boostnote 0.11.16
  • OS Version and name : Windows 10




IssueHunt Summary

hikerpig hikerpig has been rewarded.

Backers (Total: $20.00)

  • boostio boostio ($20.00)

    Submitted pull Requests

- #3177 MarkdownPreview should scroll to top after selecting another note, also fix #3023

Tips

IssueHunt has been backed by the following sponsors. Become a sponsor


bug level 1 rewarded on issuehunt

Most helpful comment

I've done some digging and found it is caused by this line.

The initial commit message c667e1465d755d843f4ffd99b3d2cc4cc05a3382 explains the purpose and it's ok then. But some time after that, the code got moved around and becoming buggy.

I will make a PR to fix this

All 24 comments

I can't reproduce this bug in Linux.

i have the same problem. same os same version.

this problem did not appear in version 0.11.15.

+1 experiencing same in windows 10 Enterprise Version 1703.

aa

Here is a gif of the problem. @ZeroX-DG

i met the same problem when upgrade to lastes
version: 0.11.16(2019/5/22)

Confirm the bug in the 0.11.16 version. Thank you for reporting!

It still occurs in the 0.11.17 version. And the theme problem as well.

I found it may be a problem of Preview part. When I uncheck “When scrolling, synchronize preview with editor”, the Edit part won't scroll up to top, but the Preview part does. So if they are synchronized they will go to the top together.

Same issue here. Unchecking When scrolling, synchronize preview with editor makes it possible to edit the note but the preview pane still scrolls up to the top on each keypress.

Version : Boostnote 0.11.17
OS Version and name : macOS Mojave 10.14.5

I think issues 3047 and 3023 are related to 3021 as well:
https://github.com/BoostIO/Boostnote/issues/3021

I met the same problem, I came from #3047.
Version : Boostnote 0.11.17
OS Version and name : Windows 10
Unchecked "When scrolling, synchronize preview with editor" option.

Occuring situation

  • __Contains image.__
  • Both scroll bars are at the bottom.
  • Enter Any character.
    back

NOT Occuring situation

  • __NOT Contains image.__
  • Both scroll bars are at the bottom.
  • Enter Any character.
    notback

Same here; I too have images in the note; had to disable the auto-scroll so that I can still write. Yet, the preview goes back to top regardless

@boostio has funded $20.00 to this issue.


same here, it happened on both Windows and Ubuntu OS.
I also discovered that the problem occurred whenever the image inserting syntax is completed.
Either

![image]()

or

![alt text][ref]
[ref]: a

will trigger the error.

I got the same issue, i'm on Windows 10. Boostnote 0.11.17 and both preview and text go full up. But only when i have an image.

I've done some digging and found it is caused by this line.

The initial commit message c667e1465d755d843f4ffd99b3d2cc4cc05a3382 explains the purpose and it's ok then. But some time after that, the code got moved around and becoming buggy.

I will make a PR to fix this

Having the samme issue in version 0.12.1 on Windows 10

Having the same issue in Ubuntu 18.04 version 0.12.1

Having the same issue version 0.12.1 on Windows 10.
Happens when there is an image preview present in the markdown.

@rokt33r has rewarded $18.00 to @hikerpig. See it on IssueHunt

  • :moneybag: Total deposit: $20.00
  • :tada: Repository reward(0%): $0.00
  • :wrench: Service fee(10%): $2.00

Reopening this until the fix is released.

Release ETA?

Pre-release can be found here: https://github.com/BoostIO/boost-releases/releases/tag/v0.13.0-0

If no major problems with it are discovered then the full release will be in 3 days.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

cyber-arsenull picture cyber-arsenull  ·  3Comments

necan picture necan  ·  3Comments

Ocanamat picture Ocanamat  ·  3Comments

Petroochio picture Petroochio  ·  3Comments

shunchuan picture shunchuan  ·  3Comments