We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VStack { SwipeViewGroup{ ForEach(outRecord, id:\.self){ out in SwipeView { OutCardView(out) .onTapGesture { outVM.loadSingle(out: out) mainStack.append(.outSummary) } .frame(maxWidth: .infinity) .contentShape(Rectangle()) } leadingActions: { _ in SwipeAction("delete", systemImage: "trash.circle", backgroundColor: .red) { }.allowSwipeToTrigger() .foregroundColor(.white) } trailingActions: { _ in SwipeAction("copy", systemImage: "doc.circle", backgroundColor: .yellow) { }.allowSwipeToTrigger() .foregroundColor(.white) } .swipeActionCornerRadius(1) Divider() .padding() } } }
when i swipe left and right, there is an error kept shown up:
Invalid sample AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>(first: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: 18.0, second: 0.0), second: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: 0.0, second: 0.0)) with time Time(seconds: 0.0) > last time Time(seconds: 0.016702291672118008)
The text was updated successfully, but these errors were encountered:
+1
Sorry, something went wrong.
I get this error as well. Any ideas on how to fix it?
Same here. Unable to resolve the issue. Spams the debug console and results in very buggy animations when swiping.
Has anyone figured out a solution?
No branches or pull requests
when i swipe left and right, there is an error kept shown up:
Invalid sample AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>(first: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: 18.0, second: 0.0), second: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: 0.0, second: 0.0)) with time Time(seconds: 0.0) > last time Time(seconds: 0.016702291672118008)
The text was updated successfully, but these errors were encountered: