Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Remove event object from button mouse action handler invocations #314

Conversation

andrewpye
Copy link
Member

#291 inadvertently changed the interface for polaris-button, such that the mouse event object was passed to the onClick, onFocus and onBlur actions on invocation, which it never was before my refactor. This change removes the erroneous event object, fixing the signature for onClick, onFocus and onBlur 👍

@andrewpye andrewpye self-assigned this Apr 8, 2019
@andrewpye andrewpye requested review from vladucu and tomnez April 8, 2019 15:15
Copy link
Member

@vladucu vladucu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a test for this?

@andrewpye andrewpye requested a review from vladucu April 8, 2019 15:25
@andrewpye
Copy link
Member Author

@vladucu added 👍

@andrewpye andrewpye merged commit bbbeeae into update/polaris-v3.10.0 Apr 9, 2019
@delete-merged-branch delete-merged-branch bot deleted the fix/remove-event-param-from-button-mouse-action-handlers branch April 9, 2019 06:10
@vladucu vladucu added the bug Something isn't working label Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants