I've been trying to find a workaround for this macOS 27 bug with row reordering. I've found some interesting results.
If the table view has a row with a UITextField and the UITextField is made first responder then row reorder works. Even if the UITextField resigns first responder, row reordering continues to work.
If the table view has a row that presents a popover when selected, then simply dismissing the popover by tapping outside of the popover then allows row reordering to work. However, if clicking on a row results in another view controller being presented as a form sheet or page sheet, then when that view controller is dismissed, row reordering on the original view controller does NOT begin to work.
I've been trying to determine what difference there is in the view controller's state before and after dismissing a popover. If I can find a relevant difference then maybe I can force that state under macOS 27 so row reordering works again. But I haven't had any luck yet.
Does anyone have any ideas here? I've checked and after dismissing a popover there is no view that is first responder. I've also checked preferredFocusEnvironments for the view controller and it is simply the view controller's view. Forcing that has no effect under macOS 27. What other possible properties could be relevant?
In cases where my view controller has a text field in a cell, I can make row reordering work under macOS 27 by having the text field become first responder then resign first responder. But I have a few cases of view controllers that need row reordering but none of the rows have text fields. I've tried just making the first visible row in the table view the first responder but that din't help.