mezzanine icon indicating copy to clipboard operation
mezzanine copied to clipboard

[Table] Draggable feature implement by `react-dnd`

Open travor20814 opened this issue 1 year ago • 0 comments

(還沒檢查完)

  1. 增加 dependency react-dnd
  2. 實作拖曳排序的功能 (draggable.enabled, draggable.onDragEnd)
  • 排序時沒有 transition,目前加了 transition 會有 bug

已確認 react-dnd 本質上無法修復的問題:

  1. 拖曳中無法修改游標樣式,只能是預設 https://github.com/react-dnd/react-dnd/issues/325

因使用 react-dnd 實作上會碰到較多 bug,選擇改用 react-beautiful-dnd 實作看看 https://github.com/Mezzanine-UI/mezzanine/pull/199

travor20814 avatar Jul 18 '23 09:07 travor20814