Skip to content

pinch not active on mobile Android and Ios on line chart #943

@aureliensagotwork-cloud

Description

the canvas touch-action is not detected by chartjs on iphone (safari) and galaxy s25 (chrome) . It is impossible to zoom , pan .

My config is
zoom: { wheel: { enabled: true, }, pinch: { enabled: true, }, mode: 'xy', threshold: 2, sensitivity: 2, onZoomStart, }, drag: { enabled: true, },

I override css styles canvas with touch-action:auto but it zooms page and not the line chart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions