You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made a fiddle using the code below. I'm using a custom processor here, just to be able to hook into the click handler. In my private setting I've tested it by adding a log message to the basic processor in can.control.
If you run the fiddle you can see in the console that the click processor is called twice.
The event is not triggered twice, so it's relatively harmless, but there seems to be something superfluous going on. I wonder if this has any performance impact.
This problem was introduced in 2.2.0, 2.1.4 is working as expected.
Confirmed, this is fixed by #1803. PR: #1809 added just for the test. Note: test passes in master, however it looks like there's some merging going on. Current PR is for minor.
I've made a fiddle using the code below. I'm using a custom processor here, just to be able to hook into the click handler. In my private setting I've tested it by adding a log message to the basic processor in can.control.
If you run the fiddle you can see in the console that the click processor is called twice.
The event is not triggered twice, so it's relatively harmless, but there seems to be something superfluous going on. I wonder if this has any performance impact.
This problem was introduced in 2.2.0, 2.1.4 is working as expected.
http://jsfiddle.net/gsmeets/8xq899vc/3/
The text was updated successfully, but these errors were encountered: