SwiftUI 2.0 Mac sliders & steppers stop working after button press

Am moving a SwiftUI 1.0 app (MacOS & iPadOS) to 2.0, and running into some strange view problems. I have a fairly complex screen (custom view plus 4 sliders, 6 steppers, and about a dozen buttons) which was working properly under SwiftUI 1.0. With 2.0, it is working fine on iPad. And on Mac ... initially. Once I've pressed a button in the Mac version, however, the sliders and steppers stop responding to input until I navigate away from the view and come back. The controls are all referring to published fields of an observed object.

Have also noticed that the onChanged member of the DragGesture on the custom view isn't being called, but the onEnded is (also on Mac only, although there seems to be some other issue on iPad).

Has anyone seen similar issues?

Somewhat remarkably, this happens even if the contents of the Button's perform method is just a print("clicked") to verify that the click was register. After that none of the sliders and steppers can be interacted with via the mouse.

Ripping code out of the view piece-by-piece, I have discovered that removing all the gestures from my custom view eliminates the problem. This happens even if the gestures contain no code at all, and if there is only 1 gesture.

SwiftUI 2.0 Mac sliders & steppers stop working after button press
 
 
Q