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

[BUG] View gets scrolled to top after zooming out instead of keeping active line on screen #45

Closed
ivan-liadniou-epam opened this issue Dec 21, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@ivan-liadniou-epam
Copy link

When zooming out on a line in the middle of a long document (longer than screen height), the scroll position gets reset to the top of the document, and we lose track of the active line.

Steps to reproduce the behavior:

  1. Open a document longer than screen height
  2. Zoom in on a line at the end of the document, zoom out

Expected behavior
The line we zoomed out on stays in view.

  • OS: Windows
  • Obsidian Version: 0.13.13
  • Plugin Version: 0.2.3
@ivan-liadniou-epam ivan-liadniou-epam added the bug Something isn't working label Dec 21, 2021
vslinko added a commit that referenced this issue Dec 21, 2021
@vslinko
Copy link
Owner

vslinko commented Dec 21, 2021

@ivan-liadniou-epam thank you for your feedback! Should be fixed in https://github.com/vslinko/obsidian-zoom/releases/tag/0.2.4

@vslinko vslinko closed this as completed Dec 21, 2021
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