Skip to content

Releases: CoolONEOfficial/NativePartialSheet

3.0.1 Fixed dismissal in NavigationView

20 Mar 22:20
Compare
Choose a tag to compare
Fix NavigationView dismiss issue #8

3.0.0 Fixed unexpected dismissal and renamed methods (sheet -> nativePartialSheet)

23 Jan 10:41
8fb12c6
Compare
Choose a tag to compare

2.0.5 Fix unexpected dismiss issue

05 Aug 14:46
Compare
Choose a tag to compare
Fix unexpected dismiss behaviour

2.0.4 Fix sizing priority issue

08 Jul 11:44
Compare
Choose a tag to compare

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

08 Jun 15:39
Compare
Choose a tag to compare

Now you can use @Environment(\.dismiss) 馃帀

2.0.2 Shadow preferences

27 Oct 20:23
Compare
Choose a tag to compare

2.0.1 Add shadow and color params

09 Oct 13:50
Compare
Choose a tag to compare
Add sheetColor and sheetShadowDisabled

2.0.0 Native-like api

30 Sep 22:03
Compare
Choose a tag to compare
Rewritten and restructured logic, new api

1.0.4 Fix interactive dismiss on iOS 16

27 Sep 20:00
Compare
Choose a tag to compare
Merge remote-tracking branch 'origin/main' into main

1.0.3 Runtime detents changes support

20 Sep 00:41
Compare
Choose a tag to compare