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 <[email protected]> * chore(changeset): add Signed-off-by: braks <[email protected]> --------- Signed-off-by: braks <[email protected]>
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

+5
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

+1-1
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)