dash-cytoscape icon indicating copy to clipboard operation
dash-cytoscape copied to clipboard

Dash Cytoscape: control the scroll wheel sensitivity for zooming

Open ZhabizGIT opened this issue 5 years ago • 6 comments

Hello,

I need to control the scroll wheel sensitivity to zoom on canvas and change the scale of graphs. I noticed that cytoscape.js and react-cytoscapejs have supported the wheel-sensitivity property in their last updates to control the scroll to zoom in/out on graphs. I was wondering if there is a way to limit the fast scroll behavior in dash-cytoscape?

Thanks,

ZhabizGIT avatar Jul 06 '20 02:07 ZhabizGIT

Hi, it seems like this is a new feature added to Cytoscape.js. Could you let me know which prop you would like to control specifically?

xhluca avatar Aug 05 '20 16:08 xhluca

I didn't check the release-notes to see when it was added. The name of property is wheelSensitivity. It is described here: https://js.cytoscape.org/#init-opts/wheelSensitivity

I noticed react-cytoscapejs is also supported that from v1.2.0. So it would be great to have that here as well.

ZhabizGIT avatar Aug 05 '20 18:08 ZhabizGIT

I'm looking forward to have a custom wheelSensitivity too! Is there any delivery forecast for it?

felipeboffnunes avatar Aug 10 '20 21:08 felipeboffnunes

That would be super useful. Thanks

ant1j avatar Dec 16 '20 07:12 ant1j

I'm also interested.

Rodolphe2005 avatar Mar 01 '21 12:03 Rodolphe2005

Anyone figure out how to control wheelSensitivity in Plotly Dash?

This seems to be a popular request with the issue brought up in #41 and on the forum as well.

CaseGuide avatar Aug 18 '21 13:08 CaseGuide