bcakmakoglu / vue-flow

A highly customizable Flowchart component for Vue 3. Features seamless zoom & pan πŸ”Ž, additional components like a Minimap πŸ—Ί and utilities to interact with state and graph.

Home Page:https://vueflow.dev/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

πŸ› [BUG]: When typing, CMD + Backspace or Shift + Backspace can delete selected element

bcakmakoglu opened this issue Β· comments

Discussed in #1383

Originally posted by LefanTan April 23, 2024
Hi. I noticed that a Node is selected, and I'm current typing on an Input/Textarea, sometimes entering "Shift+Backspace" may delete the currently selected node, even though the Input/Textarea element is in focus.

Here's a GIF demo, where I'm typing random stuff and clicking Shift + Backspace, which will unexpectedly delete the currently selected node.
This feels like an unintended bug?
move

You can try it here
Demo: https://stackblitz.com/edit/vitejs-vite-pffl1o?file=src%2FApp.vue

commented

Fixed with 1.33.6