未验证 提交 11fa2303 编写于 作者: X xiaoyatong 提交者: GitHub

Merge pull request #50 from irisSong/main

fix: 解决点击拖拽组件展示异常问题
......@@ -147,9 +147,6 @@ export const Drag: FunctionComponent<Partial<DragProps> & React.HTMLAttributes<H
})
}
}
if (props.direction !== 'x') {
target.style.top = `${yPum.current}px`
}
}
const touchStart = (e: React.TouchEvent<HTMLDivElement>) => {
const target = e.currentTarget as HTMLElement
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册