danielsaidi / BottomSheet

BottomSheet lets you add custom bottom sheets to your SwiftUI apps.
MIT License
190 stars 12 forks source link

Apple Music like docking miniview #1

Closed devraj closed 2 years ago

devraj commented 3 years ago

One of the usecases we have for BottomSheet requires us to roll out a mini view and then follow the same interaction like Apple Music i.e:

File

FYI this may also be out of scope for this project.

PS Anomaly would be willing to sponsor the development of this feature.

danielsaidi commented 3 years ago

This is possible with the current view, but I think the lib should probably have a view that makes this configuration for you (e.g. a BottomBar with a collapsed view and an expanded one).

devraj commented 3 years ago

That would be ideal, that way the View can track state and reflect it in the collapsed and expanded views.

danielsaidi commented 3 years ago

I'm sorry for not fixing this yet. June is always super busy for me, but I aim to fix this whenever I get some spare time on my hands.

danielsaidi commented 2 years ago

@devraj I have updated the demo to show how you can have an expanded and a collapsed view.