Skip to content

Commit

Permalink
Fixes stuck pager buttons (#3203)
Browse files Browse the repository at this point in the history
  • Loading branch information
rlepinski authored Sep 13, 2024
1 parent ddae34a commit 9298238
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Airship/AirshipCore/Source/Pager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ struct Pager: View {
model: self.model.items[i].view,
constraints: childConstraints
)
.allowsHitTesting(self.isVisible && i == index.wrappedValue)
.environment(
\.isVisible,
self.isVisible && i == index.wrappedValue
Expand Down

0 comments on commit 9298238

Please sign in to comment.