Skip to content

Commit b8029ec

Browse files
authored
fix(drawer): drag bug on desktop (#74)
1 parent 80ec012 commit b8029ec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/drawer/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ export function Drawer(props: DrawerProps) {
7272
<div
7373
use:draggable={{
7474
axis: "y",
75+
disabled: local.position !== "bottom",
7576
handle: handleRef,
7677
position: position(),
7778
onDrag: ({ offsetX, offsetY }) =>

0 commit comments

Comments
 (0)