SwiftUI's DragGesture broken in Catalyst apps on macOS 11?

I have a Mac Catalyst app with some custom SwiftUI sliders. After upgrading to macOS Big Sur I've noticed that the sliders are difficult to use.

After some digging and debugging it looks like the DragGesture is interrupted (i.e. stopped without calling onEnded) as soon as the cursor leaves the dragged view's frame. So, if you drag slowly everything's good, go a bit faster and you 'loose' the knob.

In iOS, iPadOS and Catalina the same code works just fine.

I have filed this to Apple using the Feedback Assistant, but thought that maybe you'll have some thoughts on this or maybe a workaround ideas. Have you got any?

Kind regards,
Jan
I'm running into the same problem. SwiftUI + DragGesture + global coordinate system + Catalyst + MacOS 11. Adding that this occurs with a custom view and not just a slider. The gesture seems to be canceled the moment the gesture.location crosses outside of the bounds of the gestured-item's parent view.

This still seems to be a problem - also on iPad on 14.6 with TrackPad control (MagicKeyboard) and Catalyst on Mac OS 11.4. It works on the iPad Simulator though...

Why doesn't Apple pay attention to this bug?

Why doesn't Apple pay attention to this bug? A year has passed since then.

SwiftUI's DragGesture broken in Catalyst apps on macOS 11?
 
 
Q