Claudéric Demers

Results 81 comments of Claudéric Demers

> is it possible to build the nested sortable tree (of folders) with this library It's possible, yes. I don't have time to build an example of this at the...

This should be possible yes, you'll need to put in a bit of work though. Say you were building a vertical list, I'd start by forking the [`verticalListSortingStrategy`](https://github.com/clauderic/dnd-kit/blob/master/packages/sortable/src/strategies/verticalListSorting.ts) and updating...

This is technically a bug with `useSortable`, but indeed as mentioned by @lueenavarro, you can solve this by using `DragOverlay` for the time being until this is resolved

Can you elaborate on why this is a problem for your use-case?

@dnd-kit doesn't currently have built-in [sorting strategies](https://docs.dndkit.com/presets/sortable#sorting-strategies) that handle unpredictable layouts. You could try building one yourself, but that's a lot of work. The general recommended strategy in these scenarios...

Hey @5ebastianMeier, thanks for opening a PR and for providing detailed motivation and rationales for this change ❤️ I'm a bit reluctant to introduce this type of complexity into the...

Hey @samld, thanks for the detailed report. This seems like an issue with NVDA, though I'd happily accept a PR that solves this issue. I saw a few github tickets...

Have you tried updating the order of the items in `onDragOver`?

I can replicate the issue, thanks for providing a replication CodeSandbox. Will investigate this week. I believe the issue is related to the use of ``.

Hey @adriantrunzo, Thanks for the detailed report. Originally the idea behind canceling dragging on window resize was to get around some limitations with @dnd-kit at the time. There's still a...