Skip to content

Fix SwiftUI hits stealing attempt 2#112

Merged
abelonogov-ld merged 3 commits intomainfrom
andrey/fix-swiftui-hits2
Jan 12, 2026
Merged

Fix SwiftUI hits stealing attempt 2#112
abelonogov-ld merged 3 commits intomainfrom
andrey/fix-swiftui-hits2

Conversation

@abelonogov-ld
Copy link
Copy Markdown
Contributor

@abelonogov-ld abelonogov-ld commented Jan 12, 2026

Note

Prevents the session replay SwiftUI overlay from intercepting touches and stabilizes associated object storage.

  • In SessionReplayAssociatedObjects, change association policy for ignoreUIView and maskUIView from .OBJC_ASSOCIATION_ASSIGN to .OBJC_ASSOCIATION_RETAIN_NONATOMIC
  • In SessionReplayModifier’s SessionReplayViewRepresentable.MaskView, ensure no hit testing by overriding point(inside:with:) to always return false, set backgroundColor to .clear, and disable touch handling on the SwiftUI wrapper via didMoveToSuperview/didMoveToWindow

Written by Cursor Bugbot for commit bfd27b0. This will update automatically on new commits. Configure here.

@abelonogov-ld abelonogov-ld enabled auto-merge (squash) January 12, 2026 17:16
@abelonogov-ld abelonogov-ld merged commit 9d6fac9 into main Jan 12, 2026
3 of 5 checks passed
@abelonogov-ld abelonogov-ld deleted the andrey/fix-swiftui-hits2 branch January 12, 2026 17:20
abelonogov-ld added a commit that referenced this pull request Jan 12, 2026
* main: (38 commits)
  chore(main): release 0.15.2 (#113)
  fix: make unlock await aware (#111)
  Fix SwiftUI hits stealing attempt 2 (#112)
  chore(main): release 0.15.1 (#110)
  fix: ldMask interfere with hit view testing (#108)
  chore(main): release 0.15.0 (#106)
  feat: Deduplicate images before buffering (#107)
  feat: Gzip compression of graphql request (#105)
  chore(main): release 0.14.0 (#103)
  feat: Flush buffers on going to app switcher (#104)
  fix: UIDevice.current.orientation.isLandscape not main thread access (#102)
  feat: Limit accumulating canvas buffer (#101)
  chore: remove disableErrorTracking option (#99)
  chore: remove unused options in observability plugin (#98)
  chore(main): release 0.13.1 (#97)
  fix: Rewrite AppLifeCycleManager onto Combine (#95)
  chore(main): release 0.13.0 (#96)
  feat: Identify support (OBS + SR) (#93)
  chore: Objective-c recordLog  (#94)
  chore(main): release 0.12.1 (#91)
  ...

# Conflicts:
#	Package.swift
#	Sources/LaunchDarklyObservability/Plugin/ObservabilityHook.swift
#	Sources/LaunchDarklyObservability/UIInteractions/TouchIntepreter.swift
#	Sources/Observability/Client/ObservabilityClientFactory.swift
#	Sources/OpenTelemetry/Instrumentation/URLSession/URLSessionLogger.swift
#	TestApp/Sources/AppDelegate.swift
#	TestApp/Sources/MainMenuView.swift
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants