Skip to content

Commit

Permalink
Fix interaction between ScrollView and PTR
Browse files Browse the repository at this point in the history
  • Loading branch information
aabewhite committed Aug 26, 2024
1 parent bdf628b commit 55cebef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/SkipUI/SkipUI/Containers/ScrollView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public struct ScrollView : View {
effectiveScrollAxes.insert(Axis.Set.horizontal)
}
let contentContext = context.content()
ComposeContainer(scrollAxes: effectiveScrollAxes, modifier: context.modifier, fillWidth: axes.contains(.horizontal), fillHeight: axes.contains(.vertical), then: scrollModifier) { modifier in
ComposeContainer(scrollAxes: effectiveScrollAxes, modifier: context.modifier, fillWidth: axes.contains(.horizontal), fillHeight: axes.contains(.vertical)) { modifier in
let containerModifier: Modifier
let refreshing = remember { mutableStateOf(false) }
let refreshAction = EnvironmentValues.shared.refresh
Expand All @@ -91,7 +91,7 @@ public struct ScrollView : View {
}

Box(modifier: containerModifier) {
Column {
Column(modifier: scrollModifier) {
if isVerticalScroll {
let searchableState = EnvironmentValues.shared._searchableState
let isSearchable = searchableState?.isModifierOnNavigationStack == false
Expand Down

0 comments on commit 55cebef

Please sign in to comment.