From f4fc254f5bfb152fb217d9e6278b2737f29293a4 Mon Sep 17 00:00:00 2001 From: Braks <78412429+bcakmakoglu@users.noreply.github.com> Date: Thu, 13 Mar 2025 06:55:09 +0100 Subject: [PATCH 1/2] 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> --- .changeset/tame-cars-occur.md | 5 +++++ packages/core/src/container/Pane/Pane.vue | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/tame-cars-occur.md diff --git a/.changeset/tame-cars-occur.md b/.changeset/tame-cars-occur.md new file mode 100644 index 000000000..bdac4ef23 --- /dev/null +++ b/.changeset/tame-cars-occur.md @@ -0,0 +1,5 @@ +--- +"@vue-flow/core": patch +--- + +Unwrap ref when checking if connection in progress. diff --git a/packages/core/src/container/Pane/Pane.vue b/packages/core/src/container/Pane/Pane.vue index 621b36c38..a15577770 100644 --- a/packages/core/src/container/Pane/Pane.vue +++ b/packages/core/src/container/Pane/Pane.vue @@ -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 } From 6e5b2332a938d35f5ac7b240e2034758498a9678 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 13 Mar 2025 06:56:21 +0100 Subject: [PATCH 2/2] chore: bump versions (#1791) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- .changeset/tame-cars-occur.md | 5 ----- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- 3 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 .changeset/tame-cars-occur.md diff --git a/.changeset/tame-cars-occur.md b/.changeset/tame-cars-occur.md deleted file mode 100644 index bdac4ef23..000000000 --- a/.changeset/tame-cars-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@vue-flow/core": patch ---- - -Unwrap ref when checking if connection in progress. diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index a705cc32e..c059b8c70 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @vue-flow/core +## 1.42.3 + +### Patch Changes + +- [#1789](https://github.com/bcakmakoglu/vue-flow/pull/1789) [`f4fc254`](https://github.com/bcakmakoglu/vue-flow/commit/f4fc254f5bfb152fb217d9e6278b2737f29293a4) Thanks [@bcakmakoglu](https://github.com/bcakmakoglu)! - Unwrap ref when checking if connection in progress. + ## 1.42.2 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 47442de53..dd379c73a 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@vue-flow/core", - "version": "1.42.2", + "version": "1.42.3", "private": false, "license": "MIT", "author": "Burak Cakmakoglu<78412429+bcakmakoglu@users.noreply.github.com>",