skiptools / skiptools/skip-ui

Scroll indicators hidden by default, never showing

Open
#343 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

compose
Dominant language
Swift
Stars
330
Forks
76
Avg merge
3h 6m
Merged PRs (30d)
1

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the ScrollView playground in the linked skipapp-showcase repository and reproduce the missing indicator using the shown .scrollIndicators(.visible) modifier. Trace the corresponding ScrollView behavior in skip-ui and compare it with the expected iOS behavior. Done means the indicator appears on the right edge when the playground is scrolled.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.