Skip to content

Conversation

@psavery
Copy link
Collaborator

@psavery psavery commented Aug 5, 2025

Fix an issue where using the mouse wheel in Jupyter not only causes zoom (desired behavior), but also causes the Jupyter notebook scrollbar to scroll (undesired behavior).

Now, when the mouse is hovering over the image, it only causes zoom.

Fixes: #4

Fix an issue where using the mouse wheel in Jupyter not only causes zoom (desired behavior), but
also causes the Jupyter notebook scrollbar to scroll (undesired behavior).

Now, when the mouse is hovering over the image, it only causes zoom.

Fixes: #4

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@psavery psavery requested a review from jourdain August 5, 2025 21:06
@jourdain jourdain removed their request for review August 5, 2025 21:08
@psavery psavery merged commit 0675042 into main Aug 5, 2025
4 checks passed
@psavery
Copy link
Collaborator Author

psavery commented Aug 5, 2025

@ercius FYI

@jourdain jourdain deleted the fix-jupyter-mouse-wheel branch August 5, 2025 21:34
@ercius
Copy link

ercius commented Aug 6, 2025

Excellent!

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

Successfully merging this pull request may close these issues.

Mouse wheel zooming in Jupyter notebook also triggers scrolling

3 participants