Skip to content

Expose gestureHandlerConfig prop in CartesianChart for gesture customization and control #516

Open
@vasylmar

Description

@vasylmar

Feature Request: Add gestureHandlerConfig prop to CartesianChart

Description

Currently, the CartesianChart component does not expose props for configuring gesture handling behavior. This limits customization options related to user interactions such as touch gestures, context menus, and selection behavior.

I propose adding a gestureHandlerConfig prop that accepts a GestureHandlerConfig object, allowing users to define these settings.

Proposed API

<CartesianChart
  gestureHandlerConfig={{
    userSelect: 'none', 
    enableContextMenu: false,
    touchAction: 'pan-y',
  }}
/>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions