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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VictoryAxis events not firing correctly on grid target #616

Closed
amaschas opened this issue Jun 8, 2017 · 0 comments · Fixed by FormidableLabs/victory-core#314
Closed
Assignees
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior

Comments

@amaschas
Copy link

amaschas commented Jun 8, 2017

Given a VictoryAxis configured like this:

<VictoryAxis
  events={[{
    target: 'grid',
    eventHandlers: {
      onMouseOver: () => {
        console.log('test');
      }
    }
  }]}
/>

The event handler never fires on mouse over. I've also tried with onClick. The onMouseOver event fires if the target is tick, but the onClick event doesn't seem to. According to the docs, this should work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐛 Oh no! A bug or unintentional behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants