Skip to content

Conversation

@joshkel
Copy link
Contributor

@joshkel joshkel commented Nov 20, 2024

This is a possible fix for #897. Further testing may be needed.

Copy link
Member

@kurkle kurkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense 👍
Some tests maybe? 🙂

@joshkel
Copy link
Contributor Author

joshkel commented Nov 21, 2024

@kurkle I have a test in my local branch at https://github.com/joshkel/chartjs-plugin-zoom/tree/local-2.1.0. It depends on #896 being merged. I can wait for that PR, or, if you'd rather have one PR that combines these fixes, I can do that.

@kurkle kurkle added the bug label Nov 21, 2024
@kurkle kurkle linked an issue Nov 21, 2024 that may be closed by this pull request
@kurkle
Copy link
Member

kurkle commented Nov 21, 2024

@joshkel #896 is merged

@joshkel
Copy link
Contributor Author

joshkel commented Nov 21, 2024

@kurkle Thanks. I've added tests.

@kurkle kurkle merged commit 2b5a165 into chartjs:master Nov 21, 2024
6 checks passed
@kurkle
Copy link
Member

kurkle commented Nov 21, 2024

Thanks @joshkel

I will add at least one more thing tomorrow and publish a release.

@joshkel joshkel deleted the drag-canvas-edge branch November 21, 2024 19:59
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.

Incorrect drag behavior at the edge of the canvas

2 participants