Hello.
I would like the height of the Vault’s display area to adjust dynamically based on the displayed content. However, if I do not explicitly set a height, dragging and dropping a file causes the drop area to shrink to a minimal size. Is there a way to make the drop area’s height match that of the Vault’s display area?
*Note: If I fix the height of the Vault’s display area, the drop area displays correctly.
For example, you should be able to reproduce this issue by dragging and dropping a file using the snippet below.
Thank you for the detailed description of your use case. I already sent it to the dev team, and they will consider the best approach to fix it. I also will notify you on any update or possible workaround.
Liekely the best solution for this case will be to use the CSS, by setting the min-height rule, so the you will avoid “shrink” of the drop zone, and still keep the height increasing, here is an example:
I managed to implement the dynamic height adjustment using min-height. However, an issue has arisen: when the height exceeds the min-height and a new file is dragged—causing the drop area to appear—if I drag the file outside the drop area, the drop area remains visible.
Thank you for an update - the descibed behaviour occurs because of an internal issue, and the dev team already works on a fix. It should be released quite soon, and I will notify you on any updates.