-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Using setDimensions on Canvas with isDrawingMode leaves a ghost path #5890
Comments
Is there a workaround where I can refresh the canvas after mouse up? The statement |
ok definitely a bug, a weird bug. |
I think PR #5866 fix this issue. |
Thanks, @alexkonst. I just tried it out, and this minor change made a significant difference! Thank you! I guess as @asturur mentioned in the PR, once he's is confident about this change, then we might see it in an upcoming release. Edit: There is one case related to touch events where I think it still gives trouble. I'll prepare a suitable fiddle and share. |
sorry for letting this behind, i ll be back to it as soon as possible |
fixed with #5866 |
Version
3.4.0
Test Case
Working OK in 3.2.0 - https://jsfiddle.net/marquivon/s0zL28x9/2/
Working NOT OK 3.4.0 - https://jsfiddle.net/marquivon/b342mg6h/
Information about environment
Nodejs or browser? Browser
Which browsers? Firefox, Safari, Chrome
Steps to reproduce
Expected Behavior
There should not be a ghost path on top of the original path.
Once the path is created, on mouse up, no additional ghost path is visible.
In version 3.2.0 it is working as expected - Example: https://jsfiddle.net/marquivon/s0zL28x9/2/
Actual Behavior
canvas.getObjects()
, so it is not yet "registered" as an object.The text was updated successfully, but these errors were encountered: