`.sheet(item` hangs on MacCatalyst
I have a problem with a MacCatalyst app I build and run on MacOS 14.6 with XCode 16.4. In this app if I click a button to show a .sheet(item
a few times (typically between 3 and 8 times) then the app starts consuming 100% CPU and the Spinning Wait Cursor shows. Minimum reproducible example is below. I would appreciate any suggestions on how to address this. Thank you!