VisActor / VisActor/VTable

[Bug] 甘特图,当我拖拽超出边界的时候CHANGE_DATE_RANGE 没有触发

Open
#3,894 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug good first issue
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.