-
Notifications
You must be signed in to change notification settings - Fork 206
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
shiny conditionalPanel not resizing widget height #161
Comments
@jcheng5 Is there something straightforward we can do in Shiny to make this work? |
Setting an explicit height in So, simple fix as indicated before is to do
|
Thanks for the suggestion--I stumbled upon a similar fix. I have the default height in Thanks for the assistance. Sizing this widget has always been a challenge (e.g. #102). |
Would the height make any sense as |
The table also doesn't display when |
Is there any solution to find in the
|
I think I'm getting closer to the issue here. If I run the simple example below and then immediately put a breakpoint on the
|
In the case of Is this the expected behavior or should the resize event be occurring each time the browser window size changes? Any guidance would be greatly appreciated. |
Is there any fix for the issue? Setting a specific height does not work for me |
This is specific to {rhandsontable} because it does not implement the resize method, this PR jrowen/rhandsontable#374 fixes this (not merged). |
In the example below, the table does not appear when the checkbox is clicked. On the other hand, if the
checkboxInput
default value is set toTRUE
, the table widget appears.I think the problem is related to the
resize
when aconditionalPanel
is involved. Using the code below, the rhandsontable.jsresize
function shows that the widgetheight
is being set to 0 when the checkbox is checked.The text was updated successfully, but these errors were encountered: