/SwiftUITapGestureBug

Example project demonstrating SwiftUI Button framework bug

Primary LanguageSwift

Example project demonstrating a SwiftUI Button framework bug

  • "Clicking" the SwiftUI Button via mouse/trackpad consecutively breaks the tap gesture for the segmented control and text fields.
  • "Tapping" the screen does not exhibit this behaviour.
  • Somehow future touch gestures are also ignored after the tap gesture is broken, unless the SwiftUI button is tapped consecutively again.

This bug occurs in Xcode 13 B5, compiling to iPadOS 15 B8 and macOS Monterey Beta 6

Tweet with video preview of issue: https://twitter.com/michael_tigas/status/1434554823815225349

Help me Obi Wan.

FB9600881