From 247d96fda4400c9a81680916ac96c74fcbfc59c6 Mon Sep 17 00:00:00 2001
From: mforstme <mforstme@paperto.me>
Date: Wed, 15 May 2024 14:00:50 +0000
Subject: [PATCH 1/4] "Do not allow dragging downwards to close if the first
 snap point is the active one and dismissible prop is set to false" had
 previously also prevented dragging upwards.

The change now also checks the direction in which the pull is made so that it can still be pulled upwards.
---
 packages/vaul-vue/src/controls.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/packages/vaul-vue/src/controls.ts b/packages/vaul-vue/src/controls.ts
index dcb812b..b0320ff 100644
--- a/packages/vaul-vue/src/controls.ts
+++ b/packages/vaul-vue/src/controls.ts
@@ -274,7 +274,7 @@ export function useDrawer(props: UseDrawerProps & DialogEmitHandlers): DrawerRoo
       const isDraggingDown = draggedDistance > 0
 
       // Disallow dragging down to close when first snap point is the active one and dismissible prop is set to false.
-      if (snapPoints.value && activeSnapPointIndex.value === 0 && !dismissible.value)
+      if (snapPoints.value && activeSnapPointIndex.value === 0 && !dismissible.value && !isDraggingDown)
         return
 
       if (!isAllowedToDrag.value && !shouldDrag(event.target, isDraggingDown))

From 57ecada725ab1484531d05e6df8dbd0cb8077ae2 Mon Sep 17 00:00:00 2001
From: mforstme <mforstme@paperto.me>
Date: Wed, 15 May 2024 14:29:43 +0000
Subject: [PATCH 2/4] Add changeset

---
 .changeset/curvy-sheep-pretend.md | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 .changeset/curvy-sheep-pretend.md

diff --git a/.changeset/curvy-sheep-pretend.md b/.changeset/curvy-sheep-pretend.md
new file mode 100644
index 0000000..ba9d30b
--- /dev/null
+++ b/.changeset/curvy-sheep-pretend.md
@@ -0,0 +1,5 @@
+---
+"vaul-vue": patch
+---
+
+Allow for Upward Dragging in Scenario Involving Snap Points and Dismissible Prop

From 805ae2c333c2b2356e6d2174f0868aa9fc014b24 Mon Sep 17 00:00:00 2001
From: zernonia <59365435+zernonia@users.noreply.github.com>
Date: Sat, 15 Jun 2024 17:32:44 +0800
Subject: [PATCH 3/4] Create blue-stingrays-sleep.md

---
 .changeset/blue-stingrays-sleep.md | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 .changeset/blue-stingrays-sleep.md

diff --git a/.changeset/blue-stingrays-sleep.md b/.changeset/blue-stingrays-sleep.md
new file mode 100644
index 0000000..fa82647
--- /dev/null
+++ b/.changeset/blue-stingrays-sleep.md
@@ -0,0 +1,5 @@
+---
+"vaul-vue": patch
+---
+
+fix prevented dragging upwards.

From 89b6e26ebd616f745774926fd63eebe73acf8e47 Mon Sep 17 00:00:00 2001
From: zernonia <zernonia@gmail.com>
Date: Sat, 15 Jun 2024 17:35:13 +0800
Subject: [PATCH 4/4] Revert "Create blue-stingrays-sleep.md"

This reverts commit 805ae2c333c2b2356e6d2174f0868aa9fc014b24.
---
 .changeset/blue-stingrays-sleep.md | 5 -----
 1 file changed, 5 deletions(-)
 delete mode 100644 .changeset/blue-stingrays-sleep.md

diff --git a/.changeset/blue-stingrays-sleep.md b/.changeset/blue-stingrays-sleep.md
deleted file mode 100644
index fa82647..0000000
--- a/.changeset/blue-stingrays-sleep.md
+++ /dev/null
@@ -1,5 +0,0 @@
----
-"vaul-vue": patch
----
-
-fix prevented dragging upwards.