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

box() closable visibility = hidden instead of display = none #123

Open
nvelden opened this issue Apr 9, 2021 · 2 comments
Open

box() closable visibility = hidden instead of display = none #123

nvelden opened this issue Apr 9, 2021 · 2 comments

Comments

@nvelden
Copy link

nvelden commented Apr 9, 2021

When closable is set to TRUE the display of the box is set to "none". This causes the box to be invisible and any elements in the box to be out of the DOM. This can be problematic when the box contains inputs which then are automatically set to NULL.

Would it be possible to instead add an option that when closable is set to TRUE visibility is set to "hidden" such that the elements are still accessible in the DOM?

@DivadNojnarg
Copy link
Member

This behavior is controlled by AdminLTE JS code (template powering shinydashboard and shinydashboardPlus) and this is not convenient to change: https://github.com/ColorlibHQ/AdminLTE/blob/v2/dist/js/adminlte.js#L270

@DivadNojnarg
Copy link
Member

I would encourage you to look at: https://github.com/RinteRface/bs4Dash which is a more modern version for Shiny.

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

2 participants