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

Scrollwheel behavior backwards #69

Open
SpudimusPrime opened this issue Oct 29, 2024 · 2 comments
Open

Scrollwheel behavior backwards #69

SpudimusPrime opened this issue Oct 29, 2024 · 2 comments

Comments

@SpudimusPrime
Copy link

Describe the bug
The Diagram preview zooms out when I scroll into the diagram, and in when I scroll out.

To Reproduce
Open the diagram, roll mouse wheel forward to observe a zoom out.
Open the diagram, roll mouse wheel backward to observe a zoom in.

Expected behavior
I expect the diagram to zoom in when I scroll in, and zoom out when I scroll out.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Ubuntu
  • Browser VSCode
@BOCOVO
Copy link
Owner

BOCOVO commented Oct 29, 2024

I understand the issue. But unfortunately don't have this issue on my end 😢 .

@akaibukai
Copy link

Hi there 👋
@BOCOVO thanks for your extension

But I'm running Fedora and it's the same thing on my end than @SpudimusPrime .

My mouse wheel behave normally on my computer:

  • scrolling the wheel forward -> scroll window towards the top
  • scrolling the wheel backward -> scroll window towards the bottom

However, when using my touchpad which has natural scrolling the scroll is obviously reversed which means:

  • swiping two finger forward -> scroll window towards the bottom
  • swiping two finger backward -> scroll window towards the top

Maybe you have reversed the direction based on natural scrolling?
While natural scrolling should occur on your OS level..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants