RinteRface / shinydashboardPlus

extensions for shinydashboard
https://shinydashboardplus.rinterface.com
Other
454 stars 77 forks source link

ShinydashboardPlus + sortableTabsetPanel conflict #41

Closed tsolloway closed 5 years ago

tsolloway commented 5 years ago

Loving the dashboard. The accordions and boxPlus is a dream, along with the carousel.

I've found what I think is a conflict between dashboard+ & shinyjqui . I'll be honest, I don't know which package to post this to, nor do I know enough about JS / html to debug this myself.

I've been able to use shinyjqui::sortable to sort accordionItem's. However, I moved to one module where I'd ideally like to sort tabsets and use a BoxPlus, but that's not working out.

In the below replex, you can see if you comment out shinyWidgets::useShinydashboardPlus(), then sortableTabsetPanel works, and understandable boxPlus works. Yet when you use useShinydashboardPlus(), sortableTabsetPanel doesn't work. Can anyone point me in the right direction to make these two awesome functions work together?

replex:

if (interactive()) { shinyApp( ui = fluidPage(

shinyWidgets::useShinydashboardPlus(),

  shinyjqui::sortableTabsetPanel(
    id = "tabs",
    tabPanel(title = "A", 
             fluidPage(
               shinydashboardPlus::boxPlus(title="cool stuff here")
             )
    ),
    tabPanel(title = "B", "BBB")
  )
),
server = function(input, output) {
}

) }

tsolloway commented 5 years ago

when I put this module in the greater app, and don't use shinyWidgets::useShinydashboardPlus(), there's no issues.

Sorry for erroneous issue.