I have a dashboard with multiple Plotly graphs in it - Hoverinfo is working as expected (the info pops up in a small modal when hovering) but for smaller metrics the hoverinfo data permanently displays.
Additionally, this error only occurs after deploying to Docker, and I cannot replicate it in the RStudio run app function. Any suggestions?
development, hover works fine no error: enter image description here
prod, hover works but data is also permanently displaying: enter image description here
add_trace(x = ~crossprod, type = "scatter", mode = "markers", color = I("#3FA1D5"),
marker = list(line = list(color = "black", width = .8)),
orientation = 'h', name = "name", xaxis = "x2",
hoverinfo = 'text',
text = ~paste('</br>variable name:', some_data,'</br>Data:', the_data ))
This was a feature added in the latest release of Plotly I found - the solution if you have the same issue is to add texposition="none"
to prevent the hoverinfos from showing on smaller metrics