To match scrollable content height and constraint, you can use Dimension.preferredWrapContent. It's a kind of wrap content with constraint, it's not perfect but better than padding at the bottom.
constrain(content) {
height = Dimension.preferredWrapContent
// ...
bottom.linkTo(parent.bottom)
}