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

Fabric.js Eraser not working properly if canvas is zoom in or zoom out #7277

Closed
iamibrahimkholil opened this issue Aug 5, 2021 · 2 comments · Fixed by #7290
Closed

Fabric.js Eraser not working properly if canvas is zoom in or zoom out #7277

iamibrahimkholil opened this issue Aug 5, 2021 · 2 comments · Fixed by #7290

Comments

@iamibrahimkholil
Copy link

Version

4.5.1

Test Case

https://codesandbox.io/s/sparkling-dew-2e038

Information about environment

Although I am using it in NextJS application. I made the test case in Vanilla JS
Which browsers?
Chrome, Firefox etc.

Steps to reproduce

First, draw something on the board then zoom in a lot then try to Erase.

Expected Behavior

It Should erase the drawing.

bandicam.2021-08-05.10-10-49-524.mp4

Actual Behavior

it won't work. It mostly happening while I am trying to eraser around the corner of the drawing. It is also happening if I zoom out the canvas a lot.

@ShaMan123
Copy link
Contributor

@ShaMan123
Copy link
Contributor

ShaMan123 commented Aug 9, 2021

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

Successfully merging a pull request may close this issue.

2 participants