-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Draw tool issue #1 - strokes change its position by itself #228
Comments
Same issue on Linux: Chrome and Firefox. |
May be a bug / regression from fabric.js But it should be fixed now on frabric.js .... |
I am facing same issue in angular 8 version, |
How can I fix it? |
I checked this issue very briefly, I think fabric.js and ImageEditor's canvas dimension is not synchronized. Fabric.js re-render already rendered free drawing lines when new line has to first render. Already rendered free drawing line's position was slightly mismatched. I'll dig down this issue and find out what's the exact reason of free drawing line jumping. |
Hey, is there a fix for this bug ? Thank you. |
Or can anyone tell us what the latest compatible versions that don't have bugs are? |
Using the 1.6.7 version of fabric.js seems to prevent this bug. |
Be aware with this 1.6.7 fabric version several of the filters (Greytone, Sepia, Vintage, etc.) don't seem to work the same (invalid parameter exceptions get thrown) as current fabric version. |
For some reason the drawing on mobile isn't working properly there either. Touch coordinates seem to "lag behind" i.e. touch coordinate starts at the correct position but starts to be incorrect when moving your finger around. Don't think it's getting scaled to the correct position properly when the canvas is larger than the screen size. Probably fixed in a later version but alas... |
I think it was caused by originX and originY being incorrectly set in graphics.js
this is right |
Is there a plan to fix this bug? |
Is there any fix? |
Any fix to this? |
resolved at 3.7.1 |
Version
3.5.3 and 3.6.0
Development Environment
Chrome, Windows
Current Behavior
etc.
See screen capture attached.
draw_tool_issue_1.zip
Expected Behavior
Previous strokes shouldn't change its position when drawing some more ones.
The text was updated successfully, but these errors were encountered: