Skip to content
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

[Bug]: Polyline will be offset when the mouse draws Polyline #9127

Closed
7 tasks done
JessYan0913 opened this issue Jul 27, 2023 · 1 comment
Closed
7 tasks done

[Bug]: Polyline will be offset when the mouse draws Polyline #9127

JessYan0913 opened this issue Jul 27, 2023 · 1 comment

Comments

@JessYan0913
Copy link

CheckList

  • I agree to follow this project's Code of Conduct
  • I have read and followed the Contributing Guide
  • I have read and followed the Issue Tracker Guide
  • I have searched and referenced existing issues and discussions
  • I am filing a BUG report.
  • I have managed to reproduce the bug after upgrading to the latest version
  • I have created an accurate and minimal reproduction

Version

6.0.0-beta9

In What environments are you experiencing the problem?

Chrome

Node Version (if applicable)

16.14.2

Link To Reproduction

https://codesandbox.io/p/sandbox/fabric-vanillajs-sandbox-forked-ngdv8d?file=%2Fsrc%2Findex.ts%3A51%2C19

Steps To Reproduce

I'm trying to draw a Polyline with the mouse, but I found that when the mouse is moved to the far left of the point set of Polylien, the Polyline moves to the right. When the mouse moves to the top of the point set of Polyline, Polyline will move down.

  1. Create polyline on mousedown
  2. Add new points to polyline points when the mouse moves
  3. Double-click the mouse to end the polyline drawing

Expected Behavior

Kapture 2023-07-27 at 21 52 37

Actual Behavior

Kapture 2023-07-27 at 21 41 38

Error Message & Stack Trace

No response

@ShaMan123
Copy link
Contributor

#8430

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants