I try to use ScrollView to show many items. Sometime new items add, another time some old items deleted. I use VisualElement.Add/Remove, but the size of content container is not automatically expand/shrink to accommodate new items, or trim space that have been occupied by old items.
Right now, I am forced to clear all child items, and add updated items again when ever i manipulate the children of ScrollView. Even after this, content size will not update, and I have to also update the scrollOffset by
content.scrollOffset = content.contentRect.size
This is the basic expected behaviors of ScrollView, and would be addressed ASAP.