ebailey78 / shinyBS

Twitter Bootstrap Components for Shiny
182 stars 47 forks source link

BStooltip stays visible with selectinputs when mouse moved away from control #86

Open OssiLehtinen opened 7 years ago

OssiLehtinen commented 7 years ago

Hi and thanks for the nice package!

My issues is the following:

when a bstooltip is attached to a selectinput, the tool tip stays visible after making a selection in the dropdown menu, even if the mouse is moved away from the control. To make the tooltip disappear, one needs to hover over the menu again and then move away from there.

Not a show stopper, but a minor annoyance.

Minimal code to reproduce the problem:

library(shiny)
library(shinyBS)
ui <- fluidPage(

  selectInput("test", "Test", c(1,2,3,4,5)),
  bsTooltip(id = "test", title = "Tooltip text.", placement = "right", trigger="hover")

)

server <- function(input, output) {

}

shinyApp(ui = ui, server = server)

I'm using shinyBS 0.61 and shiny 0.14.2 with R 3.3.1

Cheers, Ossi