Scroll indicators hidden by default, never showing
Nobody has claimed this yet.
- 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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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