You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've been trying your awesome navigation stack and it's been great to push the views, but I couldn't manage to make to PopView work ( it doesn't send me to the previous view even when I set an Id ) I honestly don't know what am doing wrong.
ParentView where I use the PushView ( works fine ) ScrollView(.horizontal, showsIndicators: false) { HStack (spacing: 16){ ForEach(productData){ item in PushView(destination: ProductDetails()){ SingleProduct(showCount: false, count: 01, countnull: false, singleProduct: item) } } }.frame(height: 320) .padding(.top,20) .padding(.horizontal) } .offset( y: -15)
`
Never mind it was just a stupid mistake from my part I've put the PopView inside a NavigationStackView that's why it didn't work. Thank you so much for the great work.
Hello,
I've been trying your awesome navigation stack and it's been great to push the views, but I couldn't manage to make to PopView work ( it doesn't send me to the previous view even when I set an Id ) I honestly don't know what am doing wrong.
ParentView where I use the PushView ( works fine )
ScrollView(.horizontal, showsIndicators: false) { HStack (spacing: 16){ ForEach(productData){ item in PushView(destination: ProductDetails()){ SingleProduct(showCount: false, count: 01, countnull: false, singleProduct: item) } } }.frame(height: 320) .padding(.top,20) .padding(.horizontal) } .offset( y: -15)
`
ChildView ( Doesn't work )
HStack{ PopView(isActive: $isActive){ Button(action: { self.isActive.toggle() }){ Image(systemName: "arrow.left") .font(.system(size: 24, weight:.regular, design: .default)) .foregroundColor(Color.black) .frame(width:45,height: 45) .background(Color.white) .cornerRadius(13) .shadow(color: Color.black.opacity(0.1), radius: 10, x: 0, y: 12) } } } .padding(.horizontal,16)
The text was updated successfully, but these errors were encountered: