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

BottomSheet is moving the view behind when I drag it. #144

Open
loryhuz opened this issue Oct 14, 2023 · 0 comments
Open

BottomSheet is moving the view behind when I drag it. #144

loryhuz opened this issue Oct 14, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@loryhuz
Copy link

loryhuz commented Oct 14, 2023

Describe the bug
BottomSheet is moving the view behind when I drag it.

Minimal reproduce-able code
Use the test project and put this in BottomSheetTestsApp file:
`@main
struct BottomSheetTestsApp: App {

@State var isPresented = false
var body: some Scene {
    WindowGroup {
        Rectangle().onAppear(perform: {
            isPresented = true
        }).sheet(isPresented: $isPresented, content: {
            ContentView()
        })
        
    }
}

}`

Expected behavior
View behind the BottomSheet should not move along the BottomSheet

Screenshots

scrollCollide.mov

Target version

  • Environment: iOS Iphone simulator
  • Version: iOS 17
@lucaszischka lucaszischka added the bug Something isn't working label Dec 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants