Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Table] Draggable feature implement by react-dnd #198

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

travor20814
Copy link
Collaborator

@travor20814 travor20814 commented Jul 18, 2023

(還沒檢查完)

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

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

  1. 拖曳中無法修改游標樣式,只能是預設 Customize the cursor during drag react-dnd/react-dnd#325

因使用 react-dnd 實作上會碰到較多 bug,選擇改用 react-beautiful-dnd 實作看看 #199

@travor20814 travor20814 changed the title [Table] Draggable feature [Table] Draggable feature implement by react-dnd Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant