Mouseover and mouseout firing repeatedly on links #2765
Unanswered
ZalgirisKaunas
asked this question in
Q&A
Replies: 1 comment
-
Is there any reason why you don't use the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Introduction
So when I hover on link transparent wrapper link tools appear fine and the event is fired only once. Still, if I hover further on the visual link's actual path even though it has pointerevents=none, it starts repeatedly firing mouseover and mouseout events.
vue.paper.on('link:mouseover', (linkView) => {
console.log('mouse over link');
console.log('linkView', linkView);
vue.addTools(linkView);
});
addTools() contain
const toolsView = new joint.dia.ToolsView({
tools: [verticesTool, segmentsTool, removeButton],
});
linkView.addTools(toolsView);
Steps to reproduce
No response
Restrictions & Constraints
No response
Does your question relate to JointJS or JointJS+. Select both if applicable.
JointJS, JointJS+
Beta Was this translation helpful? Give feedback.
All reactions