-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand BottomSheet by pulling Pull Bar up #41
Comments
Hi! Unfortunately, there is only two states: opened and completely closed |
I would like to have another state fullscreen, that would be activated when the user pulls the view up, similar to when the user pulls the view down to close it. How hard is it to add this functionality? I presume this would need to be handled in |
I presume it should be indeed handled inside But I wouldn't say it's an easy task. At least when I have thought of how it might be implemented, I couldn't find a good answer I suppose you want something similar to what AppleMaps has Probably you need to support "partially opened" state You can rule the size by this property BottomSheet/Sources/BottomSheet/Core/Presentation/BottomSheetPresentationController.swift Line 161 in 15ab2cf
But I don't know on the spot, how to make transitions between "partially opened" to "fully opened". Especially if you want interactiveness |
The only difference between what AppleMaps and what I want to achieve is that I don't want to expand the BottomSheet when user scrolls inside it, it would fully open when you hold the pull bar and swipe up. Similar to the behavior in YouTube Chat drawer has |
How can expand the ButtomSheet by pulling the Pull Bar up?
The text was updated successfully, but these errors were encountered: