Skip to content
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

The search feature does not work as expected when proton theme is selected #113

Open
vedhav opened this issue Feb 28, 2022 · 0 comments
Open

Comments

@vedhav
Copy link

vedhav commented Feb 28, 2022

The search works unexpectedly when the proton theme is selected. Unwanted nodes are also shown, it would be great if only the search-filtered nodes are displayed just like how it happens when theme is default.

Please see the screenshot below and also find the code to reproduce it.
shiny_tree_search_bug_proton

library(shiny)
library(shinyTree)

df <- data.frame(Titanic)
tree_data <- dfToTree(df, c("Sex", "Class", "Survived"))

ui <- fluidPage(
  shinyTree(
    "tree", search = TRUE, theme = "proton"
  )
)

# project_list_mini$`2 Broke Girls` <- project_list_all$`2 Broke Girls`

server <- function(input, output, session) {
  output$tree <- renderTree({
    tree_data
  })
}

shinyApp(ui, server)
@vedhav vedhav changed the title The search feature does not work when proton theme is selected The search feature does not work as expected when proton theme is selected Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant