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

fix: ZoomIn/ZoomOut does not work after dragging an item #271

Merged
merged 5 commits into from
Jan 31, 2020
Merged

fix: ZoomIn/ZoomOut does not work after dragging an item #271

merged 5 commits into from
Jan 31, 2020

Conversation

fras2560
Copy link
Contributor

@fras2560 fras2560 commented Jan 29, 2020

Range._onDragStart is being fired when dragging any item on the timeline. This causes an issue when later calling zoomIn or ZoomOut since the the Range item thinks it is being dragged.

This PR should prevent the event from being propagated to Range.js

closes #265

@fras2560 fras2560 requested a review from yotamberk January 29, 2020 16:26
@yotamberk yotamberk changed the title Bugfix for ZoomIn/ZoomOut does not work after dragging an item #265 fix: ZoomIn/ZoomOut does not work after dragging an item Jan 31, 2020
@yotamberk
Copy link
Member

Awesome! Thanks for the fix!

@yotamberk yotamberk merged commit 36dbd3b into visjs:master Jan 31, 2020
@vis-bot
Copy link
Collaborator

vis-bot commented Jan 31, 2020

🎉 This PR is included in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

ZoomIn/ZoomOut does not work after dragging an item
3 participants