Skip to content

Tooltips does not show up with shinyDashboard boxes sidebar  #140

@fsalemi

Description

@fsalemi

I have a simple app with shinyDashbaord. I was hoping to show a tooltip for sidebar icon. But it just shows "More" instead of the actual tooltip. Here is a simple code:

# Toggle a box sidebar
library(shiny)
library(bs4Dash)
library(shinyBS)

shinyApp(
  ui = dashboardPage(
    header = dashboardHeader(),
    body = dashboardBody(
      box(
        height = "500px",
        width = 12,
        maximizable = T,
        solidHeader = FALSE,
        collapsible = TRUE,
        sidebar = boxSidebar(
          id = "mycardsidebar",
          width = 30,
          p("Sidebar Content")
        )
      ),
      bsTooltip("mycardsidebar", title = "Sidebar"),
      
    ),
    sidebar = dashboardSidebar()
  ),
  server = function(input, output, session) {}
)

Any help would be highly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions