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

Vector Drift Test Pinch Zoom Fix #8644

Merged

Conversation

stephenspol
Copy link
Contributor

Corrected test to be able to get SVG size and coords correctly. Also discovered that a bug is still present with the help of #8103 (comment).

When going through the debugger, Draggable.disabled() was being called if zoomAnimation is false. If zoomAnimation is true, Draggable.enabled() is called instead and is properly fixed.

This test will be slow due to the fact of zoomAnimation being enabled as the bug has not be fixed when zoomAnimation is false.

Fixes #8117.

Issue #7466 most likely will need to be reopened.

@Malvoz Malvoz added the tests label Nov 7, 2022
Copy link
Member

@Falke-Design Falke-Design left a comment

Choose a reason for hiding this comment

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

Works perfectly, thank you!

#8794 fixes the zoomAnimation: false bug. An additional test will be added there.

@Falke-Design Falke-Design merged commit 8137047 into Leaflet:main Jan 13, 2023
@stephenspol stephenspol deleted the vector-drift-test-pinch-zoom-fix branch January 13, 2023 14:04
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.

Cover vector drift issue with tests
4 participants