dnd-kit icon indicating copy to clipboard operation
dnd-kit copied to clipboard

Add drag/resizing

Open aaronsarnat opened this issue 3 years ago • 4 comments

Would be cool to have a single library that supports manual resizing interactions via click/drag/release in addition to all the cool stuff that dnd-kit already does! Love the modern approach this library is taking.

Wish List:

  1. Resize component dimensions (example from react-resizable)
  2. Resize split pane dimensions (example from react-split-pane)

resize1

resize2

aaronsarnat avatar Sep 07 '21 08:09 aaronsarnat

Suggest to consider re-resizable for this feature, it supports both resize and split pane and also has better resizing features than react-resizable

nelsieborja avatar Jan 18 '22 14:01 nelsieborja

@nelsieborja do you have an example of how both dnd-kit and re-resizable can work together? Which one should wrap the other? mostly around ref passing.

mattgi avatar Apr 01 '22 09:04 mattgi

Curious if anyone has a solution for this.

CodyBontecou avatar Sep 08 '23 08:09 CodyBontecou

I needed something similar: https://github.com/clauderic/dnd-kit/issues/1127#issuecomment-1803046796

pixelass avatar Nov 09 '23 03:11 pixelass