visNetwork icon indicating copy to clipboard operation
visNetwork copied to clipboard

set z-index of the tooltip container and provide node title class

Open vspinu opened this issue 2 years ago • 0 comments

Currently the node title tooltip is shown under other compnents on the page. For example on the page with plotly and shiny componets tooltip is shown underneath both: image

Could you please endow the tooltip container, and the inner title div with predefined classes so that it could be easily styled? Currently: image

I think it would also make sense to hard code z-index of the tooltip to a high value.

For now my workaround is to rely on relative position and style the sibling of the network which turned to be the tooltip div:

.vis-network + div {
    z-index: 99999;
}

vspinu avatar Dec 01 '21 14:12 vspinu