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

Bug: component cannot be added to a page dynamically without having one on init #13

Closed
daattali opened this issue Mar 22, 2021 · 3 comments

Comments

@daattali
Copy link
Owner

No description provided.

@daattali
Copy link
Owner Author

I've been able to reduce this to a bug in shiny or htmltools, I don't think I'm doing anything wrong rstudio/shiny#3345

@daattali
Copy link
Owner Author

Fixed in shiny

@daattali
Copy link
Owner Author

This will only work if the user has shiny >= 1.6.1

For previous shiny versions, components will not work inside renderUI().

A workaround is to call shinywc::dependency_shinywc() somewhere in the UI, and then dynamic components will work

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