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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants