SwiftUI broken chain of modifiers ??? Neither a bug nor a feature

I shared a post on LinkedIn last week regarding an “ Unknown Xcode 15 bug when using SwiftUI”. It received a significant number of views, suggesting that many people share my view that it might be a bug. I’ve decided to investigate it further and arrive at a conclusion.

First of all, I want to correct myself, it’s not a new issue, it’s not related to the release of Xcode 15, and may have been around since the beginning of SwiftUI, but I’ve never come across it before.

For the sample code, I just used a view from Apple’s Scrumdinger. You can copy and paste, and follow with me:

Click Here