TZStackView not animating “outside” views as UIStackView
Hi! I’ve been replacing UIStackView with TZStackView and I’ve found that it handles animations (when arranged subviews are hidden) in a different way.
You can check the example on my fork.
The basic idea is having the stack view size itself depending on the content and then have another view attached at the bottom of it (as a sibling in the hierarchy). Then when hiding any arranged subview with animation the stack view should resize itself and the outside view move accordingly.
The issue is that when that happens with TZStackView, the stack view is animated but the outside view isn’t. Check this .gif for a quick look.
UIStackView

TZStackView

Cheers.
I am having this issue too.
In my case I have nested TZStackViews, and if I animate hidden property of the view inside child TZStackView, all views under this TZStackView in parent TZStackView just moves without the animation.
Maybe someone has a workaround?