daattali / shinyjs

💡 Easily improve the user experience of your Shiny apps in seconds
https://deanattali.com/shinyjs
Other
734 stars 119 forks source link

hidden() now uses tagQuery() under the hood to add classes to all tags #253

Closed cpsievert closed 2 years ago

cpsievert commented 2 years ago

Closes #252

daattali commented 2 years ago

Thanks for the initiative, but this will actually break the functionality. Only the top-level element should get the added class, not every element, because show()/hide() are not meant to be recursive.

I'll look at another fix