Skip to content

I would like onClick function in XAxis to include full React.MouseEvent event #2674

Description

@zepplock
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

Right now, there's no way to tell if click on XAxis (or any axis) had any modifiers (shift/ctrl/alt), whereas the full MouseEvent has e.altKey evailable.
In fact this might be a bug since typscript definition specifies a full React.MouseEvent for onClick

What does the proposed API look like?

This is not changing an API but rather pass a full MouseEvent vs a truncated one

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to a current APIfeature requestIssues that are feature requeststypescriptPRs or Issues surrounding Types or TS refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions