-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dropdownBlock automatically closes up when clicking on element inside #130
Comments
Hi, Thanks for using the package. In theory, this is not advised to display a table inside a dropdownBlock, which was originally designed to contain inputs. However, you're right, there is an issue. Below, the library(shiny)
library(shinydashboard)
library(shinydashboardPlus)
shinyApp(
ui = dashboardPage(
header = dashboardHeader(
leftUi = tagList(
shinydashboardPlus::dropdownBlock(
id = "mydropdown",
title = "Iris",
badgeStatus = "warning",
icon = shiny::icon("info"),
selectInput("sksk", "sksksk", colnames(mtcars))
)
)
),
sidebar = dashboardSidebar(),
body = dashboardBody(),
title = "DashboardPage"
),
server = function(input, output) {}
) |
Thanks a lot for your answer ! |
Hi, I am experiencing the same behaviour with
Then in
Whenever I select an option in the radio buttons input, the dropdownBlock closes. If I put it directly in the leftUI tagList, it works as expected. The reason I need to put this in a |
Hi,
I've noticed an unwanted behavior with the latest version 2.0.0.
If I use a
shinydashboardPlus::dropdownBlock
to show a datatable object withDT::DTOutput
then any click on the datatable functionnalities (pages numbers, columns' order button, etc.) will close up the dropdownBlock.I've tried to made a reproducible example of my experience :
Could you tell me please if you noticed the same behavior on your side ?
Don't hesitate if you need any addtionnal info from me.
The text was updated successfully, but these errors were encountered: