You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using virtual and height: 400 options is great when I have a large JSON string to display, but when the JSON is smaller, I end up with a blank area below my formatted JSON, since I don't need a scroll bar to display the full rendered JSON. Could we add a max-height prop that uses the CSS property max-height instead of height in the rendered component? This would allow it to take up less room, when small, but still be bound when large.
The text was updated successfully, but these errors were encountered:
I too would very much like to have this feature.
Perhaps it would be possible to add both, favoring height (default behavior now) when property is available. Otherwise, use max-height when specified.
using
virtual
andheight: 400
options is great when I have a large JSON string to display, but when the JSON is smaller, I end up with a blank area below my formatted JSON, since I don't need a scroll bar to display the full rendered JSON. Could we add amax-height
prop that uses the CSS propertymax-height
instead ofheight
in the rendered component? This would allow it to take up less room, when small, but still be bound when large.The text was updated successfully, but these errors were encountered: