konvajs / konva

Konva.js is an HTML5 Canvas JavaScript framework that extends the 2d context by enabling canvas interactivity for desktop and mobile applications.

Home Page:http://konvajs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Position of group not not consistent between stages after drag

kravex911 opened this issue · comments

Hi, thank you for creating this amazing library, but I am building some sort of building CAD system using react Kong, and I have hit a couple road blocks. As you can see in the demo, it lets me draw polygons, no problem and when I first draw polygon and I click edit it shows up on the second stage in the exact same location, but if I were to drag the polygon and then click edit, the positions are inconsistent. Please let me know if I am doing something wrong or if there is a bug.

I also asked a stack overflow question regarding another issue with dragging here

Here is the demo

A video of the bug as well:
https://github.com/konvajs/konva/assets/43700159/2fb016a7-8115-4e11-bad8-1beff3129398