Skip to content

Scroll indicators hidden by default, never showing #343

@dfabulich

Description

@dfabulich

In https://github.com/skiptools/skipapp-showcase navigate to the ScrollView playground, and scroll it.

Expected: There should be a scroll indicator on the right edge, like iOS
Actual: No scroll indicator

Even adding .scrollIndicators(.visible) doesn't help.

private struct VerticalScrollViewPlayground: View {
    var body: some View {
        ScrollView {
            VStack {
                ForEach(0..<30) { i in
                    Text("View: \(i)")
                        .padding()
                }
            }
        }
        .scrollIndicators(.visible)
        .refreshable {
            do { try await Task.sleep(nanoseconds: 3_000_000_000) } catch { }
        }
    }
}

The scroll indicator is still hidden.

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    composeLimitation of Jetpack Compose or issue with SwiftUI translation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions