This sounds like the issue being discussed here: https://developer.apple.com/forums/thread/803019 This has been fixed in macOS 26.1 which will likely be released today.
Topic:
UI Frameworks
SubTopic:
SwiftUI
Tags: