Bug reportAug 26, 2026· 0:29· 8 views
Excalidraw: eraser does not delete unlocked freedraw elements
0:29 total
Comments · 0
Be the first to comment.
Bug report— by SceneRecap AI
highcanvas / eraser / freedraw renderer
os: macOSbrowser: Chromium 151.0.7922.34viewport: 1280x720
Repro steps
- 1.Open Excalidraw whiteboard containing hand-drawn freedraw strokes.
- 2.Select the Eraser tool (press shortcut 'e').
- 3.Click and drag over a freedraw element on the canvas to erase it.
Expected
The eraser tool should erase/delete the intersected freedraw stroke elements without throwing errors.
Actual
Freedraw elements remain on canvas and are not erased, while multiple console errors 'Freepath outline must have at least 2 points' are logged on each eraser stroke/click.
Evidence
consoleRepeated console error logged upon clicking canvas with eraser: 'Freepath outline must have at least 2 points'
visualFreedraw orange stroke remains visible and unaffected after multiple eraser clicks between 7.0s and 15.0s.
visualControl case: Selecting strokes via Cmd+A and pressing Delete at 18.5s successfully clears the strokes from the canvas.
Issue markdown (copy-paste ready)
### Summary
When using the Eraser tool ('e') to delete freedraw strokes on the Excalidraw canvas, the elements are not deleted and trigger multiple `Freepath outline must have at least 2 points` console errors.
### Steps to Reproduce
1. Open an Excalidraw canvas containing freedraw strokes (0.0s).
2. Switch to the Eraser tool using shortcut `e` or the toolbar (5.5s).
3. Click and drag over the drawn stroke (7.2s).
### Expected Behavior
The targeted stroke element should be erased and removed from the canvas.
### Actual Behavior
The stroke remains intact on the canvas, and the console floods with `Freepath outline must have at least 2 points` errors.
### Control Observation
Selecting the stroke using the selection tool (`v`) and deleting with the `Delete` key works correctly (18.5s), indicating the issue is specific to eraser intersection/deletion logic with freedraw elements.
*Recorded with SceneRecap.*Your recordings could explain themselves too.
Free plan · silent recordings welcome · bug reports included.
Try SceneRecap free →