I'm developing a Shiny app using the development version of the package, as documented here.
When I use navbarPage
with tabsetPanel
, everything works as expected:
library(shiny)
shinyUI(
navbarPage("Page Title",
tabPanel("Panel 1")
tabPanel("Panel 2"),
tabPanel("Panel 3"))
)
But when I add a navbarMenu
to one of the tabs:
library(shiny)
shinyUI(
navbarPage("Page Title",
navbarMenu("Menu",
tabPanel("Panel 1.1"),
tabPanel("Panel 1.2")),
tabPanel("Panel 2"),
tabPanel("Panel 3"))
)
The text 'tab-pane active' appears on every tab of the app, even the ones not inside the navbarMenu
. It seems like 'tab-pane active' is a CSS class that should be inside of a div tag, but somehow it's appearing as plain text in the page source code.
Does anyone have an idea about what's causing that, or how it can be fixed?