Skip to content

缩进树图,当鼠标悬浮在节点和边上时,无法拖拽画布/如何拖拽画布? #6817

Closed Answered by lisonge
lisonge asked this question in Q&A
Discussion options

You must be logged in to vote

解决了,给 边/节点 加上如下属性

labelPointerEvents: 'none',
pointerEvents: 'none',

总之就是设置 pointerEvents:'none'

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@lisonge
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by lisonge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant