The Web APIs Playground is a project to showcase the JavaScript Web APIs with examples and demonstrations. Client-side JavaScript APIs are here to help with providing wrapper functions for many low-level tasks.
Clicking on Show Canvases button creates duplicate event listners.
The code written on Show Canvases does not remove the event listners already created, and adds another ones which will result in same events applied multiple times and crashing the page.
Describe the bug Canvas Api bug -
To Reproduce Steps to reproduce the behavior:
Expected behavior Clicking on Show button multiple times should not create unnecessary more event listeners.
Desktop