forked from uber/react-vis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Align onParentEventType callbacks across XYPlot (uber#857)
* Aligned mouse handlers docs and callback format Mouse handlers in XYPlot receive SyntheticEvents and not Native Events by defaults. Aligned all callback to be called with event parameters, and not with an object like { event: event } * Add onParentMouseEnter and onParentMouseLeave Align the mouseEnter and mouseLeave handler to call respective onParentEventType callback for every series child * Add onMouseUp calls and handlers * Updated docs for onMouseUp prop * Fix wrong callback for onTouchStart * Add tests for onParentEventType handlers
- Loading branch information
1 parent
a4a21bc
commit a288f91
Showing
4 changed files
with
124 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters