BottomSheet icon indicating copy to clipboard operation
BottomSheet copied to clipboard

Access UISheetPresentationController in SwiftUI on iOS 15 using a simple .bottomSheet modifier.

Results 6 BottomSheet issues
Sort by recently updated
recently updated
newest added

If a bottomSheet is wrapped around `.preferredColorScheme`, it does not take the modifier into account and shows the system-selected color scheme.

I am not too familiar with UIKits `UISheetPresentationController`, but it would be quite useful to be able to define a material/blur and an opacity to the sheets background. Is that...

Hi, I notice anythings inside `onDismiss` never called ! when I change it back to sheet `onDismiss` does called so I think there is issue with the logic on your...

Hi, I think it's important to have background color on BottomSheet I tried to add it like this ``` func body(content: Content) -> some View { ZStack { content .onChange(of:...

When binding to an optional item. What are your thoughts on passing the item to the content view? Similar to the sheet modifier. ``` func sheet(item: Binding, onDismiss: (() ->...

Hi, thanks for making this! I was watching the WWDC sheets session and at around the 9:15 mark, Russell mentions that the sheet should respect a `preferredContentSize` if `widthFollowsPreferredContentSizeWhenEdgeAttached =...