⭐️ Support Detents for Page Sheet for Improved Bottom Sheet UX#7
⭐️ Support Detents for Page Sheet for Improved Bottom Sheet UX#7trevorwhealy wants to merge 1 commit into
Conversation
Proposal to include the bottom sheet. This is mostly pseudocode.
|
Hello!! Thank you for making this, i really appreciate it — i already plan on adding this feature in the future (but it'll require Xcode 12) |
|
@dominicstop of course - nice work on this great library by the way. I was trying to build something similar for a few weeks, but your implementation is more robust and complete. In my version, I was really trying to keep the API small since I'm not as comfortable with Swift. Something like this: Alternatively tried something like this, but keeping track of the visibility flag across the bridge was kind of awkward. Early January would be a pretty quick turnaround actually. Please feel free to message me anytime between then, now, or after, if you want me to help test out the implementation! |
|
I would love help with testing actually haha — I'll update you with the progress via this thread. |
|
Hey @dominicstop, it seems like your iOS modal is pretty much the best one out there. When I saw the proposed improvements I got even more excited. Please do let us know your progress, or if you need any help. |
|
There is an open PR on the React Native repo for this too for reference: react/react-native#34834 |
Proposal to include this new behavior in iOS 15 to make bottom sheets.
This is pseudocode, just seems like the correct place to extend the behavior.
The parent API would also need additional prop changes to support this.
For achieving UIs that look like this: