solid-dnd-directive
solid-dnd-directive copied to clipboard
A directive based drag and drop container for solid-js
Is there a way to move the dropped component rather than creating it anew?
import {setDebugMode} from "solid-dnd-directive"; setDebugMode(true); How to use this and where to write the?
`ErrorFallback.jsx:15 DOMException: Failed to execute 'insertBefore' on 'Node': The node before which the new node is to be inserted is not a child of this node. at reconcileArrays (http://localhost:3000/node_modules/.vite/deps/chunk-MNO6DYGY.js?v=f5e7b5dd:184:26) at...
When trying to scroll on mobile, It seems to drag the elements instead of scrolling. Solution: Add an option to click and hold to drag for mobile.
Exception if dragging element while list is reactively updated. > index.mjs?v=4b52cd16:1555 Uncaught TypeError: Cannot read properties of undefined (reading 'items') > at handleDrop (index.mjs?v=4b52cd16:1555:32)
Hi, I've added to library to my project and copied and pased the example into a TSX file. On this line: ```ts import { dndzone } from 'solid-dnd-directive'; ``` I'm...