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

Clear doesn't fully remove objects #3034

Closed
paulsohops opened this issue Jun 7, 2016 · 4 comments · Fixed by #3058
Closed

Clear doesn't fully remove objects #3034

paulsohops opened this issue Jun 7, 2016 · 4 comments · Fixed by #3058

Comments

@paulsohops
Copy link

Version

1.6.2

Steps to reproduce

Add a selectable object to the canvas then call canvas.clear(). You will still be able to select and drag around an invisible object (the object's "ghost") where the old one used to be. This ghost can overlap other objects and make them unselectable.

Expected Behavior

Calling canvas.clear() should fully clear the canvas to the initial clean state.

Actual Behavior

Ghosts everywhere. Calling canvas.remove(object) produces the correct/expected behavior of fully removing the object.

@asturur
Copy link
Member

asturur commented Jun 7, 2016

i think this has been fixed with this: #3023
can you make a fiddle to test it?

@paulsohops
Copy link
Author

I'm using the latest commit (9ef51ff)

@asturur
Copy link
Member

asturur commented Jun 10, 2016

please jsfiddle. i need help to fix things here.

@asturur
Copy link
Member

asturur commented Jun 10, 2016

did you build the library or just using latest commit?

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