[Bug] 甘特图,当我拖拽超出边界的时候CHANGE_DATE_RANGE 没有触发
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.18.2
Link to Minimal Reproduction
// 监听改变日期范围事件 ganttDistance.value.on(VTableGantt.TYPES.GANTT_EVENT_TYPE.CHANGE_DATE_RANGE, (params) => { console.log(params) })
Steps to Reproduce
// 监听改变日期范围事件 ganttDistance.value.on(VTableGantt.TYPES.GANTT_EVENT_TYPE.CHANGE_DATE_RANGE, (params) => { console.log(params) })
Current Behavior
拖拽超出边界的时候CHANGE_DATE_RANGE 没有触发
Expected Behavior
获取对应的 拖拽前的开始时间、结束时间;拖拽后的开始时间、结束时间
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the CHANGE_DATE_RANGE listener in the minimal reproduction and trace the gantt drag handling when the drag moves beyond its boundary. Verify the event payload includes the start and end times before and after the drag, then reproduce the case on version 1.18.2 to confirm the event fires.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100