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

Zoom causes panel to scroll up when the ctrl+wheel event has a relatively large event.pageY #128

Closed
Enter-tainer opened this issue Sep 24, 2023 · 1 comment · Fixed by #185
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Enter-tainer
Copy link
Owner

Describe the bug
as title
To Reproduce
Preview a long document such as pkuthss and scroll the very end of preview panel. Use ctrl+wheel to scroll it.

Package/Software version:

This at least affects v0.8.0 and v0.8.1

@Enter-tainer Enter-tainer added the bug Something isn't working label Sep 24, 2023
@Myriad-Dreamin Myriad-Dreamin changed the title Zoom is not centered at cursor Zoom causes panel to scroll up when the ctrl+wheel event has a relatively relative large event.pageY Sep 24, 2023
@Myriad-Dreamin Myriad-Dreamin changed the title Zoom causes panel to scroll up when the ctrl+wheel event has a relatively relative large event.pageY Zoom causes panel to scroll up when the ctrl+wheel event has a relatively large event.pageY Sep 24, 2023
@Enter-tainer Enter-tainer added the help wanted Extra attention is needed label Sep 25, 2023
@ParaN3xus
Copy link

Same issue

Myriad-Dreamin added a commit that referenced this issue Nov 15, 2023
Myriad-Dreamin added a commit that referenced this issue Nov 16, 2023
Enter-tainer pushed a commit that referenced this issue Nov 16, 2023
* fix: issue #128

* dev: retrieve dom state before any operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants