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:

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).
Hi there,
I'm running into an issue when using a
FreehandMarkerwith a newFreehandMarkerOnPointerUp set totrue.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:

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
newFreehandMarkerOnPointerUptotrue, right after the line is drawn andFreehandMarkeris clicked again (I presume this happens automatically for thetrueoption).