You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This example uses nodeHtmlLabel to display some custom HTML and style.
I would like to, from this example, be able to:
Select text (for copy and paste purposes)
Click buttons
It seems that Cytoscape mouse drag event takes over the button click event and the text drag.
I believe that it's very close to working properly because the mouse cursor change when hovering the HTML text, and the button style changes on click.
Has someone figured out how to make is work?
I've tried to play with z-index without results.
Thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello there,
I've found this example that is almost exactly what I need: https://codesandbox.io/p/sandbox/pedantic-rosalind-7w75t8
This example uses
nodeHtmlLabel
to display some custom HTML and style.I would like to, from this example, be able to:
It seems that Cytoscape mouse drag event takes over the button click event and the text drag.
I believe that it's very close to working properly because the mouse cursor change when hovering the HTML text, and the button style changes on click.
Has someone figured out how to make is work?
I've tried to play with z-index without results.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions