Post

Replies

Boosts

Views

Created

Presenting View with sheet retrigger .task and .onAppear
I noticed issue on iOS 18 beta 6 . .sheet(isPresented: $viewModel.showingArticleSheet, content: { SheetView() }) where SheetView contain some text and a dismiss button . I noticed that the interaction is not happen on the first click , due to view is getting reloaded , which re call .task and .onAppear at the minimum . i have no clue how to fix that and i didn't see anyone complain of this issue .
3
0
590
Aug ’24