Closed kientux closed 1 year ago
Is there anyway to support this Stocks behaviour like in the sample app, but with the bottom "Yahoo!" view inside the panel itself?
If I added a view at bottom of the content view, it will only be visible in full state.
It seems that FloatingPanel calculates view size only for highest anchor? If I use single anchor then it works just fine.
What a shame, literally just 5 mins after posting the question, I figured out that FloatingPanelController.contentMode = .fitToBounds will work exactly like this 🤦
FloatingPanelController.contentMode = .fitToBounds
Is there anyway to support this Stocks behaviour like in the sample app, but with the bottom "Yahoo!" view inside the panel itself?
If I added a view at bottom of the content view, it will only be visible in full state.
It seems that FloatingPanel calculates view size only for highest anchor? If I use single anchor then it works just fine.