Skip to content

feat(src/index.js): expose the original event to afterShow and afterHide #445

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

Conversation

cjzcpsyx
Copy link

BREAKING CHANGE: afterShow and afterHide will now take in a parameter to handle the original
event

fix #406

…erHide`

BREAKING CHANGE: `afterShow` and `afterHide` will now take in a parameter to handle the original
event

fix ReactTooltip#406
@cjzcpsyx
Copy link
Author

@bluestreek18
need maintainer involved to check

@aronhelser
Copy link
Collaborator

This change looks fine. It is not a breaking change, since existing code will not assume an argument available to afterShow or afterHide. Can you remove the BREAKING CHANGE from the commit message? I don't want to bump the major version number automatically. Using feat(...): will bump the minor version number.

We need to document the change in readme.md.

@cjzcpsyx
Copy link
Author

cjzcpsyx commented Apr 9, 2019

fixed in #466

@cjzcpsyx cjzcpsyx closed this Apr 9, 2019
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.

afterShow and afterHide should not swallow the trigger event
2 participants