This app demonstrates a SwiftUI bug (crash) that occurs in macOS, but not iPadOS.
To reproduce:
- Run the app targeting macOS.
- Click the '+' icon in the upper-right.
- Click the magnifying glass icon in the upper-right.
- Watch it crash.
Repeat the above, targeting iPadOS, see it presents the sheet just fine.