Alfred-Skyblue / vue-draggable-plus

Universal Drag-and-Drop Component Supporting both Vue 3 and Vue 2
https://vue-draggable-plus.pages.dev/en/
MIT License
2.71k stars 106 forks source link

fix: optional parameter handling in useDraggable function #142

Open masterYi2333 opened 4 weeks ago

masterYi2333 commented 4 weeks ago

When called in this way, the parameters are not processed correctly. The options should be applied correctly.

useDraggable(el, undefined, { animation: 150, handle: '.handle' })

netlify[bot] commented 4 weeks ago

Deploy Preview for vue-draggable-plus ready!

Name Link
Latest commit fe980c7072992a88f3bd64b306e3510293c6c03b
Latest deploy log https://app.netlify.com/sites/vue-draggable-plus/deploys/6661a56ed114b10008cb72c5
Deploy Preview https://deploy-preview-142--vue-draggable-plus.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.