react-smooth-dnd
react-smooth-dnd copied to clipboard
Possible to use translate instead of top/left?
I might try and just do this myself, but I'm hitting some performance issues when there's a lot of draggables, presumably because it's using top/left rather than translate.
@kutlugsahin do you have any plans to modify this to use transforms? I assume it'd be pretty easy.
Hey @MitchEff
Draggables are already reordered by transform. But for ghost element I use top-left by default. But if you want to change that there is a property can be used as follows.
import { smoothDnD } from 'smooth-dnd';
smoothDnD.useTransformForGhost = true;