fix(core): unwrap ref when checking if connection in progress (#1789)

* fix(core): unwrap ref when checking if connection in progress

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
2025-03-13 06:55:09 +01:00
parent 5d773f1071
commit 410a59df5b
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@vue-flow/core": patch
---
Unwrap ref when checking if connection in progress.

View File

@@ -82,7 +82,7 @@ function wrapHandler(handler: Function, containerRef: HTMLDivElement | null) {
}
function onClick(event: MouseEvent) {
if (selectionInProgress || connectionInProgress) {
if (selectionInProgress || connectionInProgress.value) {
selectionInProgress = false
return
}