Edit mode limiting presentation

Hi All.


I have a view which switches between a summary and edit mode, using an EditButton.


Some of the edits are complex enough to require a sub view. For instance, I need a search field to filter certain options.


I find that when the view is in edit mode, all types of navigation are disabled:


Button raising a sheet is not working.

NavigationLink pushing a seperate view is not working.


Can anyone confirm this is the case?

Is this intentional or a bug?


Many thanks.

Replies

I can confirm this is the case. I've made a stackoverflow post about how picker navigation stops working in edit mode. I don't know if this is intentional or a bug.


I'm likely going to work around this by using my own "edit mode" variable, and only using edit mode for handling list edits; At least until I get a clear picture of how this is supposed to work.


https://stackoverflow.com/questions/60590266/how-to-get-swiftui-picker-in-subview-working-greyed-out?noredirect=1#comment107225326_60590266