Skip to content
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

Drag indicator cannot be dragged to change sheet position #45

Closed
coughski opened this issue Jan 18, 2022 · 1 comment
Closed

Drag indicator cannot be dragged to change sheet position #45

coughski opened this issue Jan 18, 2022 · 1 comment
Labels
enhancement New feature or request Thank You ❤️ For people who appreciate my work

Comments

@coughski
Copy link

The grab indicator reacts to taps, but not to drag gestures. I have to drag on space adjacent on the indicator in order to change the sheet position via drag. Recorded this in the Xcode 13 preview canvas, iOS 15. Thanks for making the package!

import SwiftUI
import BottomSheet

struct ContentView: View {
    @State var bottomSheetPosition: BottomSheetPosition = .bottom
    var body: some View {
        Text("Hello, world!")
            .bottomSheet(bottomSheetPosition: $bottomSheetPosition) {
                Text("Hi again")
            }
    }
}
Screen.Recording.2022-01-18.at.11.52.52.AM.mov
@lucaszischka lucaszischka added enhancement New feature or request Thank You ❤️ For people who appreciate my work labels Mar 11, 2022
@lucaszischka
Copy link
Owner

Changed in upstream. Will be part of the next version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Thank You ❤️ For people who appreciate my work
Projects
None yet
Development

No branches or pull requests

2 participants