harchcode / harchcode/web-digraph

Delete worked even when not focused on the canvas

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
bug good first issue
Dominant language
TypeScript
Stars
6
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Currently, if we select a node, and then type on some input textbox anywhere on the page, and then we press the delete/backspace button, the selected node got deleted.

The delete button listener shouldn't be attached to the `window`, but should be attached to the canvas.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.