Skip to content

Cannot reliably scroll horizontally with nested scrollView #67

@KesWalker

Description

@KesWalker

I use the DrawerViewto host my SwiftUI views like so:

VStack{
  ScrollView(.vertical){
    ScrollView(.horizontal){
      AnyView()
    }
  }
}

Trouble is, unless I scroll perfectly horizontally, the drawer view tries to close/open if my finger moves up or down slightly.

This will even happen when the parent ScrollView(.vertical) is scrolled to the bottom, meaning I will end up with a collapsed drawer view but the ScrollView(.vertical) won't be scrolled to the top.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions