Skip to content

How to disable sigma mouse wheel events in v3? #1492

Answered by jacomyal
HectorHS asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @HectorHS,

Good catch, it was not possible to handle this properly with sigma.
I just released sigma v3.0.0, with a fix for this. Basically, sigma stops preventing default mouse-wheel behavior in two different cases:

  • the new enableCameraZooming setting is true (showcased here)
  • the settings minCameraRatio or maxCameraRatio are set, and the user hits the zoom boundaries (I added those settings to the nodes pan story, so that it is testable somewhere)

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@HectorHS
Comment options

@jacomyal
Comment options

@HectorHS
Comment options

Answer selected by HectorHS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants