Ok I have to be missing something here. If you add a selection binding to a List (let's say you want to edit it), then that seemingly renders all NavigationLinks in the List unusable. Surely not!?

Please someone, anyone, tell me I'm holding it wrong! gist.github.com/phillipcaudell

@phill Try using the contextMenu:primaryAction: modifier. Primary action still gets triggered IIRC and you can set the selection manually

Follow

@brandonhorst thanks for the suggestion, though it looks updating the selection that way won't trigger the SplitView/Stack to notice any changes.

@phill Ah sorry, I replied before looking at the gist - yeah I don’t have any way around this :(

Sign in to participate in the conversation
The Not So Big Company

The home of The Not So Big Company on Mastodon.