Skip to content

Conversation

@optilude
Copy link
Contributor

Because of the way the _eventTargets[UID] lookup is only set when the component is first mounted, it seems that on the first click/mouseover/mouseout, the first parameter to the event handler would be undefined.

This change fixes this problem by deferring to a function that can use the closure data.

Because of the way the `_eventTargets[UID]` lookup is only set when the component is first mounted, it seems that on the first click/mouseover/mouseout, the first parameter to the event handler would be undefined.

This change fixes this problem by deferring to a function that can use the closure data.
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