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

Reduce event emission on canvas #6055

Merged
merged 2 commits into from
Dec 28, 2019
Merged

Reduce event emission on canvas #6055

merged 2 commits into from
Dec 28, 2019

Conversation

asturur
Copy link
Member

@asturur asturur commented Dec 28, 2019

This PR eliminates over firing of events on the canvas when subtargets are firing mouseover/mouseout

To mirror what we do on mousedown/mouseup, events for subtargets are fired only on objects and not for both canvas and object.

I prefer to start with this more restrictive way of firing and widening it later or adding more info to the canvas events.

@jakedowns does this make the feature less usefull for you?

@asturur
Copy link
Member Author

asturur commented Dec 28, 2019

i will merge and make a release today, because i have time to do so in the weekend.
I would like to reiterate if this is not optimal with a patch release later.

@asturur asturur merged commit 5ca194c into master Dec 28, 2019
@asturur asturur deleted the reduce-event-emission branch January 15, 2020 13:48
ickata pushed a commit to ickata/fabric.js that referenced this pull request Jul 27, 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 this pull request may close these issues.

1 participant