diff --git a/lib/basic/oui-draggable.vue b/lib/basic/oui-draggable.vue index 68f1974..d6305e5 100644 --- a/lib/basic/oui-draggable.vue +++ b/lib/basic/oui-draggable.vue @@ -1,5 +1,5 @@ @@ -156,7 +159,7 @@ async function checkClose(e: OuiDraggableEvent) { v-focustrap class="_modal_container" only-touch - :style="{ transform: `translateY(${dragY}px)` }" + :style="dragY > 0 ? { transform: `translateY(${dragY}px)` } : undefined" @move="e => dragY = -e.moveY" @move-end="checkClose" > diff --git a/package.json b/package.json index 7d63cbe..984e015 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "oui-kit", "type": "module", - "version": "0.22.2", + "version": "0.22.3", "author": { "email": "dirk.holtwick@gmail.com", "name": "Dirk Holtwick",