visNetwork
visNetwork copied to clipboard
set z-index of the tooltip container and provide node title class
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:
Could you please endow the tooltip container, and the inner title div with predefined classes so that it could be easily styled? Currently:
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;
}