-
Notifications
You must be signed in to change notification settings - Fork 226
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
Add option to preventDefault on scroll event #235
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems sensible and correct to me
@martinRenou regarding #240 I tried the new feature. After installing the latest from Maybe I am not using it properly... I am using it like this:
|
Could it be an installation issue? Are you using JupyterLab or Jupyter Notebook? |
I am using JupyterLab. If that's the way it should be used, could indeed be an installation issue...I am gonna try to do a fresh install of the miniconda environment when I have time and see if it's fixed there. Thanks |
Be sure to run |
That's it, it works now. Thanks for helping out and for the great work! |
Nice. We should make a release with this fix. |
Also the readme currently says |
@ianhi If we do that, the |
@martinRenou instructions updated in #243
👍 yes please |
@ianhi Release done on PyPi. It should come soon on conda-forge as well. |
closes: #222
Following the way
resizeable
was added I addedcapture_scroll
to the canvas object with a default ofFalse
. If set to true then the entire notebook will not scroll when a user scrolls the mouse over a canvas. This allows the enduser to implement things such as custom scroll to zoom methods.