Releases: CoolONEOfficial/NativePartialSheet
Releases · CoolONEOfficial/NativePartialSheet
3.0.1 Fixed dismissal in NavigationView
Fix NavigationView dismiss issue #8
3.0.0 Fixed unexpected dismissal and renamed methods (sheet -> nativePartialSheet)
3.0.0 Fixed unexpected dismissal and renamed methods (sheet -> nativePartialSheet)
2.0.5 Fix unexpected dismiss issue
Fix unexpected dismiss behaviour
2.0.4 Fix sizing priority issue
Fixed an issue where a view was taking up all available space.
struct ContentView: View {
@State private var showMore: Bool = false
var body: some View {
VStack {
Spacer()
Text("ABCDEFG")
Text("HIJKLMNOP")
Text("Show sheet")
.onTapGesture {
showMore = true
}
.sheet(isPresented: $showMore) {
Text("Sheet content")
}
.presentationDetents([ .large, .medium ])
}
}
}
2.0.3 Environment \.dismiss support
Now you can use @Environment(\.dismiss)
🎉
2.0.2 Shadow preferences
Fix build
2.0.1 Add shadow and color params
Add sheetColor and sheetShadowDisabled
2.0.0 Native-like api
Rewritten and restructured logic, new api
1.0.4 Fix interactive dismiss on iOS 16
Merge remote-tracking branch 'origin/main' into main
1.0.3 Runtime detents changes support
Fix dynamic content