Commit c8fcd195 authored by Karen Konou's avatar Karen Konou

[Forest] use unique IDs for user tooltips

parent 37a4d4d1
...@@ -290,9 +290,9 @@ nodeLinkCpt = here.component "nodeLink" cpt ...@@ -290,9 +290,9 @@ nodeLinkCpt = here.component "nodeLink" cpt
pure $ pure $
H.div { className: "node-link" H.div { className: "node-link"
, on: { click } } , on: { click } }
[ H.a { href, data: { for: tooltipId id, tip: true } } [ H.a { href, data: { for: name <> "-" <> (tooltipId id), tip: true } }
[ nodeText { isSelected, name } [ nodeText { isSelected, name }
, ReactTooltip.reactTooltip { effect: "float", id: tooltipId id, type: "dark" } , ReactTooltip.reactTooltip { effect: "float", id: name <> "-" <> (tooltipId id), type: "dark" }
[ R2.row [ R2.row
[ H.h4 {className: GT.fldr nodeType true} [ H.h4 {className: GT.fldr nodeType true}
[ H.text $ GT.prettyNodeType nodeType ] [ H.text $ GT.prettyNodeType nodeType ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment