Everything is absolutely fine. The draw stroke and mouse cursor pointer position do not match when trying to draw something after zooming.
Thank you for contacting us and your project.
I was indeed able to reproduce without any difficulty.
I keep you updated.
when I am zooming, the mouse cursor pointer and the stroke drawing not matching.
You will see the problem in the attached picture.
I don't get any solution still. Can you please give me an example code of the solution please?
Can you let us know the resolution for this? We are awaiting response as this is a crucial piece of our development.
the issue is tracked internally, but we cannot commit when it will be solved.
Meanwhile, as the source code of the iinkJS is provided, you can have a look and update it according to your needs: https://github.com/MyScript/iinkJS
I tried to add zoom-in and zoom-out on websocket_math_iink demo.
But after increasing the height and width (zooming), the drawing strokes not correctly positioning.
You can find the problem try zooming and drawing something.
Here is my code.
video of the problem: https://clipchamp.com/watch/NhmjqMOKYWA
How to solve this problem?