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

[Bug] 甘特图鼠标浮动task控制台报错 #3189

Closed
lwei-jlu opened this issue Dec 23, 2024 · 0 comments
Closed

[Bug] 甘特图鼠标浮动task控制台报错 #3189

lwei-jlu opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@lwei-jlu
Copy link

Version

1.14.0

Link to Minimal Reproduction

1.14.0

Steps to Reproduce

以官网例子https://visactor.com/vtable/demo/gantt/gantt-taskShowMode为例
设置 taskBar: {
resizable:false,
moveable:false,

则鼠标浮动在task上,控制台会报错

Uncaught TypeError: Cannot read properties of undefined (reading 'setAttribute')
at es.showHoverBar (index-BS0mwDNa.js:4:7402)
at Cs.showTaskBarHover (index-BS0mwDNa.js:4:73002)
at ov. (index-BS0mwDNa.js:4:43943)
at pA.notifyListeners (index-CqI8r375.js:2:62148)
at pA.notifyTarget (index-CqI8r375.js:2:59276)
at pA.propagate (index-CqI8r375.js:2:58830)
at pA.dispatchEvent (index-CqI8r375.js:2:57513)
at Object.onPointerMove [as fn] (index-CqI8r375.js:2:52490)
at pA.mapEvent (index-CqI8r375.js:2:58282)
at HTMLDocument.onPointerMove (index-CqI8r375.js:2:64173)
屏幕截图 2024-12-24 052256

Current Behavior

Expected Behavior

如图

Environment

- OS:
- Browser:
- Framework:
1

Any additional comments?

1

@lwei-jlu lwei-jlu added the bug Something isn't working label Dec 23, 2024
@fangsmile fangsmile self-assigned this Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants