Closed Wyy-Wei closed 8 months ago
@lcd2yyz
any updates on this issue? thanks!
I'm using latest teal (0.15.1) but you can try my solution.
I just added the class = 'active'
argument to the tabItem and the box shows.
@Wyy-Wei can you try this?
We're using teal 0.14.0 and it works too! Thank you so much! 😃
That's great to hear. If you're still early in your development, I would recommend to switch to 0.15.1. You can checkout the migration guide here.
It's interesting use case to see teal module is being used on shinydashboard. I don't believe we ever pressure-test the modules against different UI framework but it's good to know that this is possible.
What happened?
Hi, We're using teal for our dashboard and we have a user guide tab that contains several
tabItem
s.Before when we're using teal 0.11.1, the user guide tab works fine. When we click on user tab, the first
tabItem
will show by default.Recently we upgraded to teal 0.12.0, and the user guide doesn't have a default
tabItem
anymore. We have to click on one of the tabs for it to show up.Here's the simple example code I have to demonstrate this issue.
This is a simple page with one tab. For the last two lines, we run either one of them to run the app.
shiny::shinyApp(app$ui, app$server)
uses teal modules, and when running this, the app does not have a default tab on display. We have to click on overview for it to show.shiny::shinyApp(ui_app_user_guide, srv_app_user_guide)
feeds the ui and server function directly so it does not use teal modules, and we have the overview tab displayed by defaults.We will be really appreciate it if you could kindly provide us any input on this to help us understand this better. Thank you so much in advance!
sessionInfo()
Relevant log output
No response
Code of Conduct
Contribution Guidelines
Security Policy