Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node deleted when pressing delete key #252

Closed
alexisrolland opened this issue Jan 31, 2023 · 1 comment
Closed

Node deleted when pressing delete key #252

alexisrolland opened this issue Jan 31, 2023 · 1 comment
Labels
bug Something isn't working v1 Related to Baklava v1

Comments

@alexisrolland
Copy link

Moving my comment here to a new issue for bug report: #245

The graph has an annoying behavior when editing text in node options. If the user press the delete key on his keyboard, an entire node is deleted rather than just the text in the text area.

Here is an example to reproduce the issue in the Baklava demo as follow:
https://codesandbox.io/s/baklavajs-example-forked-twsd1r?file=/src/MathNode.js

  • Added an InputOption in the MathNode
  • Click on the title of the MathNode to select the node
  • Double click on the text in the text input to select the word
  • Press Delete key --> the whole node is deleted, the expectation would be only the selected text is deleted
@newcat newcat added bug Something isn't working v2 Related to Baklava v2 v1 Related to Baklava v1 labels Apr 22, 2023
@newcat
Copy link
Owner

newcat commented Jun 1, 2023

Fixed in v2 with v2.0.2-beta.4

@newcat newcat removed the v2 Related to Baklava v2 label Jun 1, 2023
@newcat newcat closed this as completed Nov 1, 2023
@newcat newcat added this to V2 Apr 9, 2024
@newcat newcat moved this to Done in V2 Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working v1 Related to Baklava v1
Projects
Status: Done
Development

No branches or pull requests

2 participants