When opening a sheet which has the backported .presentationDetents and .interactiveDismissDisabled view modifiers applied and then changing the device orientation from portrait to landscape and back, then the app crashes.
The stack traces are showing an endless recursion.
General Information
Describe the bug
When opening a sheet which has the backported .presentationDetents and .interactiveDismissDisabled view modifiers applied and then changing the device orientation from portrait to landscape and back, then the app crashes. The stack traces are showing an endless recursion.
Steps to reproduce
For me this always crashes because of an endless recursion
Expected behavior
No crash
Stack trace, compiler error, code snippets
Workaround
I will create a PR with two simple changes to avoid this endless recursion.