简体   繁体   English

Cytoscape.js,未通过Chrome选择节点

[英]Cytoscape.js, nodes aren't getting selected with Chrome

In cytoscape.js I have a network, and when I select a node, normally the color of the inner circle, which is green, should turn black, like this in Mozilla Browser: 在cytoscape.js中,我有一个网络,当我选择一个节点时,通常,内圈的颜色(绿色)应变为黑色,例如在Mozilla浏览器中:

在此处输入图片说明

But when I try the same network in Google Chrome it doesn't work, I just get this, like I was moving the node, not clicking it: 但是,当我在Google Chrome浏览器中尝试使用相同的网络却无法正常工作时,我得到的就像是移动节点,而不是单击它:

在此处输入图片说明

Is there a compatibility problem between Chrome and cytoscape.js? Chrome和cytoscape.js之间是否存在兼容性问题? Or anybody has any other ideas of why the selection could not be working? 还是有人对为什么选择不起作用有其他想法?

Thanks! 谢谢!

It may be related to this: https://github.com/cytoscape/cytoscape.js/issues/876 可能与此有关: https : //github.com/cytoscape/cytoscape.js/issues/876

If there is a bug in a particular version of a browser on the browser side, it's hit or miss whether there can be a workaround. 如果在浏览器端的特定版本的浏览器中存在错误,则是否有解决方法的机会很大。 You may want to file an issue with more details: https://github.com/cytoscape/cytoscape.js/issues/new 您可能想提出一个具有更多详细信息的问题: https : //github.com/cytoscape/cytoscape.js/issues/new

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM