-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
mouse drag out of sync with div scale #1275
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
Comments
you need to create a reproduceable test case if you want us to take a look. look at the jsfiddle template |
Because In many cases we need to zoom the page, |
The same is true even if you put the zoom style on the outer DIV |
Who can help me solve this problem,Please. |
browser zooming works just fine, so not sure why you would manually scale the div in code... if you are such in need of a fix, and don't want to fix it yourself, maybe you should consider donating $ to this effort. |
How can I donate |
github page and website has donate links https://github.com/gridstack/gridstack.js |
@adumesny Is there any workaround for this? Like we can calculate position according to scale and pass it to gridstack. |
unlikely to get fixed as not a priority or support and I don't understand the use case why you would scale a div (so many things break when scaling in my experience). HTML5 drag&drop is a lot worse than the JQ version which seems only off by scale factor relative to parent (0,0) |
fix for gridstack#1275 demos
fixed in next release. |
…n element (gridstack#2263)" re-opens gridstack#1275, and fix gridstack#2498 gridstack#2497 gridstack#2491 This reverts commit b559a6f.
…n element (gridstack#2263)" re-opens gridstack#1275, and fix gridstack#2498 gridstack#2497 gridstack#2491 This reverts commit b559a6f.
will be in next 9.5 relase. |
When I change the target div's SCALE, just like "transform: scale(0.457292) translate(0px, 0px);",the movement or dragging in the gridstack is out of sync with the real mouse movement
The text was updated successfully, but these errors were encountered: