Skip to content
New issue

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

Invalid AnimatablePair Runtime Error #31

Open
dsplayerX opened this issue Jan 13, 2025 · 0 comments
Open

Invalid AnimatablePair Runtime Error #31

dsplayerX opened this issue Jan 13, 2025 · 0 comments

Comments

@dsplayerX
Copy link

I am encountering a runtime error related to AnimatablePair in SwiftUI when using SwipeActions within a List. The error occurs intermittently during user interaction (e.g., swiping). Here is the error message:

Invalid sample AnimatablePair<AnimatablePair<CGFloat, CGFloat>, AnimatablePair<CGFloat, CGFloat>>(first: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: -50.33333333333337, second: 0.0), second: SwiftUI.AnimatablePair<CoreGraphics.CGFloat, CoreGraphics.CGFloat>(first: 50.33333333333333, second: 0.0)) with time Time(seconds: 0.0) > last time Time(seconds: 0.016671916644554585)

I am not using any animation modifiers.

@dsplayerX dsplayerX changed the title Invalid AnimatablePair Sample Causing Runtime Error in SwipeActions Invalid AnimatablePair Runtime Error Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant