SwiftUI LazyVGrid pauses the navigation
I am facing an issue while implementing NavigationView with list and LazyVGrid. In the first switch statement I am using TabView to display horizontal views,and in the second switch statement I am using lazyVGrid to display Vertical Grid. The problem is that when I click on horizontalView(TabView) it works fine and navigate to another screen but when I click on the GridItem to navigate to another screen it makes the background grey and pause the whole UI.
Here is my code,
SwiftUI LazyVGrid pauses the navigation
I am facing an issue while implementing NavigationView with list and LazyVGrid. In the first switch statement I am using TabView to display horizontal views,and in the second switch statement I am using lazyVGrid to display Vertical Grid. The problem is that when I click on horizontalView(TabView) it works fine and navigate to another screen but when I click on the GridItem to navigate to another screen it makes the background grey and pause the whole UI.
Here is my code,