Skip to content

feat: added onMouseOver and onMouseOut props to Bar #602

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

Merged
merged 2 commits into from
Jun 23, 2025

Conversation

c-lamoureux
Copy link
Contributor

Description

These props allow control over the onMouseOver and onMouseOut inputs for Bar marks.
This solution can be easily expanded to other mark types.

Note:
This library does not currently support touch control.

Related Issue

Motivation and Context

Some applications may need to trigger state changes in response to hovering over a mark on the chart.

How Has This Been Tested?

Tests included in changes.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Copy link

Copy link

@Bryant-Curtis Bryant-Curtis merged commit 4b48e05 into main Jun 23, 2025
6 checks passed
@Bryant-Curtis Bryant-Curtis deleted the clamoureux/controledMouseInputsBar branch June 23, 2025 21:03
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.

2 participants