refundRequestSheet done button is not working properly

I am having an issue with refundRequestSheet. So basically, my issue is that everything is presented just fine, I can get through the refund process, but at the end of the process where we are having done button, after I press the done button nothing is happening, result is not being called - it looks like the button is not actually calling any action.

The only way for me to close the screen is to actually swipe the sheet down, and then the result of onDismiss sometimes is failure and sometimes is a success.

I also investigated other type of sheets such manageSubscriptionsSheet, and this is having the same issue basically.

I tested two models, the iPhone 6S had this problem, the iPhone 14ProMax did not have this problem.

.refundRequestSheet(for: viewModel.transactionID ?? 0, isPresented: $viewModel.showRefundSheet, onDismiss: { _ in
viewModel.showRefundSheet = false
 })

I'm still experiencing the same issue.

refundRequestSheet done button is not working properly
 
 
Q