Weird fullscreencover and sheet behaviour iOS 15?

Found possible bug, in iOS 15. When I have view with sheet of identifiable items, and fullscreen cover or usual sheet.

click one button, then close it with swipe. And open another view.

it's open randomly previous content or if it's change between item sheet it would open new and close immediately and console show this message:

"Currently, only presenting a single sheet is supported. The next sheet will be presented when the currently presented sheet gets dismissed."

You can check out, this gist minimal reproduction of this weird behaviour

You should better include the code as text, unless it is too big.

Well I can't edit post anymore and I will add it here

struct ContentView: View { enum Sheet: String, Identifiable { var id: String { rawValue } case one, two } @State var isFullScreenPresented: Bool = false @State var isSheetPresented: Bool = false @State var isItemSheetPresented: Sheet? var body: some View { VStack { HStack { Button(action: {isFullScreenPresented.toggle()}, label: { Text("fullScreen") .padding() .foregroundColor(.red) .background(Rectangle()) }) Button(action: {isSheetPresented.toggle()}, label: { Text("sheet") .padding() .foregroundColor(.red) .background(Rectangle()) }) } HStack { Button(action: {isItemSheetPresented = .one}, label: { Text("one") .padding() .foregroundColor(.red) .background(Rectangle()) }) Button(action: {isItemSheetPresented = .two}, label: { Text("two") .padding() .foregroundColor(.red) .background(Rectangle()) }) } HStack { Text(isFullScreenPresented.description) Text(isSheetPresented.description) } Text(isItemSheetPresented.debugDescription) Spacer() } .sheet(item: $isItemSheetPresented, onDismiss: {isItemSheetPresented = nil}, content: {item in Text(item.id) }) .sheet(isPresented: $isSheetPresented, onDismiss: { isSheetPresented = false}, content: { Text("sheet") }) .fullScreenCover(isPresented: $isFullScreenPresented, onDismiss: {isFullScreenPresented = false }, content: {FullScreenContent()}) }} struct FullScreenContent: View { @Environment(\.presentationMode) var dismiss var body: some View { VStack { Button("close", action: {dismiss.wrappedValue.dismiss()}) Spacer() } }}```
Weird fullscreencover and sheet behaviour iOS 15?
 
 
Q