Claudéric Demers
Claudéric Demers
Can you try upgrading to the versions of `@dnd-kit` tagged with `next` on npm? I think this is fixed by this PR I merged a few days ago https://github.com/clauderic/dnd-kit/pull/656 (will...
Whoops. Can you try `@dnd-kit/[email protected]`? Looking at your example, you may also need to manually schedule measurement of the droppable rects when the sidebar animation finishes. Something like: ```ts import...
You can fix this by writing a custom `sortableKeyboardCoordinates` method that is optimized for vertical lists, something along these lines... ```ts import {closestCenter, KeyboardCode, rectIntersection} from '@dnd-kit/core'; import type {CollisionDetection,...
Definitely. I would welcome any PRs to that effect. For now, this isn't something I have time to do, but I definitely agree that this would be super valuable.
Can you replicate the issue on this URL? https://5fc05e08a4a65d0021ae0bf2-unebtvimdp.chromatic.com/iframe.html?id=presets-sortable-vertical--press-delay&viewMode=story
I haven't personally used React Testing Library so I can't speak to its compatibility with `@dnd-kit`. The main thing I would recommend is making sure you fire the right type...
That's somewhat to be expected @joshjg, this is a DOM heavy library and you're trying to author tests in a non-DOM environment. What type of tests are you trying to...
The size and position of items matters for all sensors. I'm going to assume you're using the Sortable preset. When using the Keyboard sensor with the sortable coordinates getter, the...
This issue should be resolved by https://github.com/clauderic/dnd-kit/pull/672 https://codesandbox.io/s/dnd-kit-sortable-forked-ghwnln?file=/src/App.jsx
The library should work with NextJS. The issues you are mentioning seem to be related to trying to copy examples to NextJS and not the core library.