Skip to content

Commit c406c5f

Browse files
committed
Fixes tooltip behaviour to persist after a click
1 parent 840b331 commit c406c5f

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

Eplant/views/NavigatorViewer/NavigatorView.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -921,11 +921,6 @@ export const NavigatorViewObject = () => {
921921
tooltip.style('visibility', 'hidden')
922922
})
923923

924-
element.on('click', () => {
925-
isHidden = true /** Mark the tooltip as hidden */
926-
tooltip.style('visibility', 'hidden')
927-
})
928-
929924
/** Reactivate the tooltip on hover */
930925
tooltip.on('mouseover', () => {
931926
isHidden = false /** Reset the hidden state */

0 commit comments

Comments
 (0)