And additionally, in the case without selPriv, I end up getting this warning on device when the selection doesn't work:
2023-09-14 10:44:45.305377-0700 NavSplitView[20843:16029318] [Assert] Collection view focus state got out of sync. Expected <SwiftUI.ListCollectionViewCell: 0x13d050a00; baseClass = UICollectionViewListCell; frame = (116 44; 288 44); layer = <CALayer: 0x600002305540>> to be the current managed subview but found <SwiftUI.ListCollectionViewCell: 0x14d01a000; baseClass = UICollectionViewListCell; frame = (116 44; 288 44); alpha = 0; layer = <CALayer: 0x6000023fa520>>.
It doesn't happen when I use the private selection case (but the selection still doesn't highlight).
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: