You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is on my todo list. Once I support auto layout constraints for subviews, then this should be easy to do.
@rabzu I want to elaborate a little on this. If you look at how the square cash app actually behaves, you'll see that as the scroll view stretches beyond the top, the header bar stretches and its content stays pinned at the bottom. This is currently not possible using BLKFlexibleHeightBar because there's no way to say "keep this view pinned to the bottom."
The core problem is that stretching the scroll view beyond the top is
Unbounded (theoretically. but in practice there seems to be a limit to how far it will stretch)
The scroll view is no longer changing its content offset in a linear way. Whatever physics code Apple is using under the hood for scroll view elasticity is completely changing how the content offset is changed.
With all of that said, auto layout is the answer. I could add an extra property that specifically says to pin a view to the bottom when the scroll view is stretched beyond the top, but then I'd be mimicking what auto layout already does ;)
Is there anyway I can make elements in the navbar animate when SquareCashStyle navbar is expanded downwards?
The text was updated successfully, but these errors were encountered: