Skip to content

Commit 410a59d

Browse files
committed
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>
1 parent 5d773f1 commit 410a59d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/tame-cars-occur.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@vue-flow/core": patch
3+
---
4+
5+
Unwrap ref when checking if connection in progress.

packages/core/src/container/Pane/Pane.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ function wrapHandler(handler: Function, containerRef: HTMLDivElement | null) {
8282
}
8383
8484
function onClick(event: MouseEvent) {
85-
if (selectionInProgress || connectionInProgress) {
85+
if (selectionInProgress || connectionInProgress.value) {
8686
selectionInProgress = false
8787
return
8888
}

0 commit comments

Comments
 (0)