daattali/shinyjs

hidden() doesn't work on a tagList() containing an htmlDependency()

cpsievert opened this issue · 3 comments

First reported in rstudio/shiny#3670

Here's a minimal reprex

library(htmltools)

shinyjs::hidden(
  tagList(
    div(),
    htmlDependency(name = "foo", src = "", version = "1.0")
  )
)

Thanks for the report!

Fixed in both hidden() and disabled(). Please install latest github version and confirm it works in your usecase @gitdemont

It perfectly works ! THANKS 👍