macOS Target: SwiftUI Lists disappear when tapped

I have the following setup: Multiplatform SwiftUI App. When selecting a menu item from the sidebar, it opens correctly on the right side. When tapping something inside the List on the right side, the List disappears. Seems like a bug? When using a ScrollView on the Right side it works.

Replies

Could fix this issue by using.

Code Block
var sidebar : some View {}


was using before

Code Block
var body : some View {}