ShinyJQUI打破了闪亮的BS

时间:2018-06-08 11:43:32

标签: jquery-ui shiny shinyjs shinybs bootstrap-ui

我正在构建一个闪亮的应用程序,我必须使用shinyjqui和shinyBS包。当我在我的应用程序中使用shinyjqui函数时,我注意到了这个问题,它破坏了BStooltips。以下可重复使用的代码将详细说明: -

library("shinyBS")
library("shinyjqui")

ui <- basicPage(
  actionButton("View_BF","",icon = icon("eye-open", lib = "glyphicon")),
  bsTooltip("View_BF", "View", placement = "bottom", trigger = "hover",
            options = NULL),
  #JQUI function to resize chart- this is bearking shinyBS, removing this function will enable BStooltip
  jqui_resizable(
    plotOutput("plot",width="500",height = "500")

  )

)

server = function(input, output, session) {

  output$plot <- renderPlot({
    cars2 <- cars + rnorm(nrow(cars))
    plot(cars2)
  })

}

runApp(list(ui = ui, server = server))

0 个答案:

没有答案