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

Preview window does not scroll properly #3289

Open
Flexo013 opened this issue Oct 20, 2019 · 2 comments
Open

Preview window does not scroll properly #3289

Flexo013 opened this issue Oct 20, 2019 · 2 comments
Labels
bug 🐛 Issue concerns a bug. level 2 ❗ A bug that causes major damage: App is barely usable, since major features are not working.

Comments

@Flexo013
Copy link
Contributor

Flexo013 commented Oct 20, 2019

Current behavior

Scrolling beyond the end of the (preview) document is not possible, when this option is enabled.

If you click an internal link that will scroll low enough then you suddenly can't scroll all the way to the top anymore.

The scroll bar of the preview window is not accurate, and it seems that the window is bigger than what is displayed. Thus causing these issues.

Expected behavior

One should be able to scroll to the top and beyond the bottom of a document at all times.

Steps to reproduce

  1. Use this markdown code: broken_scrolling.txt
  2. Scroll up and down.
  3. Observe the incorrect behavior.
  4. Click on the heading links in the TOC.
  5. Try to scroll up again.
  6. Click the 4 heading or top bookmarks
  7. Try to scroll down again.

Environment

  • Version : 0.13.0
  • OS Version and name : Windows 10

Screenshots

Screenshots of weird document size (it thinks it's taller than it should be?):
image

Scrollbar is longer than the view?
image

After scrolling down
image

Possibly related to:

@hikerpig
Copy link
Contributor

Strange indeed... I'll take a look today

@shmolf
Copy link
Contributor

shmolf commented Nov 5, 2019

@Flexo013 I believe this can be fixed from #3318

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Issue concerns a bug. level 2 ❗ A bug that causes major damage: App is barely usable, since major features are not working.
Projects
None yet
Development

No branches or pull requests

3 participants