Hi.
I’ve created a test project to reproduce an issue that I have been trying to tackle on a while. But with no luck. As far as I can see this is an issue in Cuba.
Scenario:
- create a page that includes a scrollbox
- within that scrollbox, use a table with auto height
- when showing a lot of records, the table shows an empty row-space at the bottom
- when the set of records is limited, this unused space gradually disappears until at ~50 records there is no unused space anymore
See screenshot and attached reproduction project (you will need to create ~ 100 records!).
testtable.zip (88.5 KB)
Looking at the HTML it seems there is a calculation error. The table-div has been given a larger height than necessary and there is a row-spacer included that takes up the space (when display:none is used, the space is still allocated):
The use case here is that I want to generate a page that just lists all available information that can be scrolled through. In the attached test project it is a simple table but in my application there is more information before and after (hence the scrollbox).
Thanks for your support.
- Berend