fix(core): don't set user selection flags on pointer down (#1600)

* chore(core): remove deprecation of `removeSelectedElements`

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* fix(core): don't set user selection flags on pointer down

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* fix(core): prevent panning on drag when selection is active

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

* chore(changeset): add

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>

---------

Signed-off-by: braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2024-08-27 21:55:38 +02:00
parent 9c003d4353
commit eb12bdc56f
4 changed files with 7 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
---
"@vue-flow/core": patch
---
Don't set user selection flags on pointer down, only setting them when pointer is moved to allow pane click events to occur when `selectionKeyCode` is `true` (i.e. selection on drag).