Skip to content

Unable to take any action on the marker area when using newFreehandMarkerOnPointerUp set to true #180

@ouAlain

Description

@ouAlain

Hi there,

I'm running into an issue when using a FreehandMarker with a newFreehandMarkerOnPointerUp set to true.

The problem is that if you use the marker too much in one place, or too aggressively making only short lines, you will fall into the below error preventing you from taking any further action on the marker area. This error also occurs spontaneously when ordinarily using the markers, though it is hard to reproduce.

Setup: codesandbox

Error:
image

PS There's also a warning present in the console on each stroke, not sure if related.

Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true. See: <URL>

This also appears without setting the newFreehandMarkerOnPointerUp to true, right after the line is drawn and FreehandMarker is clicked again (I presume this happens automatically for the true option).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions