github / github/task-lists-element
Moving an item from `sourceIndex = 0`, sets `dst` as `newIndex + 1`
未关闭
- 主要语言
- TypeScript
- 星标
- 152
- 派生
- 24
- 平均合并
- 1 天 4 小时
- 30 天内合并 PR
- 6
描述
For example:
Moving _Hubot_ from position `[0, 0]` to position `[0, 1]` actually gets calculated as moved to position `[0, 2]`.
贡献指南
调研方向
Start by reproducing the reported drag-and-drop move from [0, 0] to [0, 1] in the task-list element and trace where the destination index is calculated. Done means the same move produces destination [0, 1] rather than [0, 2], with the relevant regression covered by the project's existing tests.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- typescript
- 领域
- frontend
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100