I'm getting following crash while opening a context menu in
LazyHStack item inside of LazyVStack: "Terminating app due to uncaught
exception 'NSInternalInconsistencyException', reason: 'UIPreviewTarget
requires that the container view is in a window, but it is not.
(container: <SwiftUI.HostingScrollView: 0x106876400>)'".
Anyone can help me out how to avoid this crash issue ?
3
1
1.6k