Skip to content

Multiple Canvas Eraser Problem #177

@NajmusSakibRashid

Description

@NajmusSakibRashid

Describe the bug
The bug is observed when there is multiple canvases in a page. I can draw independently on the canvases but while erasing on a canvas the same event is happened to all other canvases.

To Reproduce
Steps to reproduce the behavior:

  1. Add multiple canvas in a page
  2. Draw something independently to all the canvases
  3. Try to erase in one canvas
  4. You will notice all the drawings of other canvases is also erasing.

Expected behavior
It is expected that only the image I select to erase will perform the erasing operation.

Screenshots
canvas_issue.webm

Desktop (please complete the following information):

  • Linux
  • Chrome
  • Version 128.0.6613.119 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • I did not test it for smartphone.

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