Replies: 1 comment 1 reply
-
Can you better specify what are doing with fabric ( what are you removing and how ) and what events do you see firing? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have a question about the
selection:cleared
event please.It seems that when a single object is removed using
canvas.remove(obj)
this event is fired with{ target }
and not{ deselected }
which is the case when deselecting objects.I discovered this when I was adding buttons that are displayed for specific objects only when selected, and I was using the
selection:*
events for this, I have implemented a workaround but I wanted to ask you about it before creating a pull request or an issue because a change like this may be backwards incompatible and maybe it should be changed in the next major version.Thank you.
Beta Was this translation helpful? Give feedback.
All reactions