Yalantis / Koloda

KolodaView is a class designed to simplify the implementation of Tinder like cards on iOS.

Home Page:https://yalantis.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on dragging a card

maxydey opened this issue · comments

commented

Report

Report a bug

What did you do?

Crash while trying to drag a card

What did you expect to happen?

card to be dragged and dismissed, revealing next catd

What happened instead?

card stays in it's place on drag, and crash after second attempt to drag it

Your Environment

# OS Version: 12.3.1 (16F203)
# Device: iPhone X
# RAM Free: 6.4%
# Disk Free: 39.5%

#0. Crashed: com.apple.main-thread
0  Koloda                         0x10592e490 KolodaView.card(cardAllowedDirections:) + 334 (KolodaView.swift:334)
1  Koloda                         0x1059281a0 DraggableCardView.dragDirection.getter + 299 (DraggableCardView.swift:299)
2  Koloda                         0x105928438 DraggableCardView.dragPercentage.getter + 315 (DraggableCardView.swift:315)
3  Koloda                         0x105927c88 DraggableCardView.panGestureRecognized(_:) + 260 (DraggableCardView.swift:260)
4  Koloda                         0x105927dbc @objc DraggableCardView.panGestureRecognized(_:) (<compiler-generated>)
5  UIKitCore                      0x1fbcaa868 -[UIGestureRecognizerTarget _sendActionWithGestureRecognizer:] + 64
6  UIKitCore                      0x1fbcb2a70 _UIGestureRecognizerSendTargetActions + 124
7  UIKitCore                      0x1fbcb0414 _UIGestureRecognizerSendActions + 316
8  UIKitCore                      0x1fbcaf940 -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 760
9  UIKitCore                      0x1fbca3a1c _UIGestureEnvironmentUpdate + 2180
10 UIKitCore                      0x1fbca314c -[UIGestureEnvironment _deliverEvent:toGestureRecognizers:usingBlock:] + 384
11 UIKitCore                      0x1fbca2f2c -[UIGestureEnvironment _updateForEvent:window:] + 204
12 UIKitCore                      0x1fc0bb510 -[UIWindow sendEvent:] + 3112
13 UIKitCore                      0x1fc09b59c -[UIApplication sendEvent:] + 340
14 UIKitCore                      0x1fc161714 __dispatchPreprocessedEventFromEventQueue + 1768
15 UIKitCore                      0x1fc163e40 __handleEventQueueInternal + 4828
16 UIKitCore                      0x1fc15d070 __handleHIDEventFetcherDrain + 152
17 CoreFoundation                 0x1cf81b018 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18 CoreFoundation                 0x1cf81af98 __CFRunLoopDoSource0 + 88
19 CoreFoundation                 0x1cf81a880 __CFRunLoopDoSources0 + 176
20 CoreFoundation                 0x1cf8157bc __CFRunLoopRun + 1004
21 CoreFoundation                 0x1cf8150b0 CFRunLoopRunSpecific + 436
22 GraphicsServices               0x1d1a1579c GSEventRunModal + 104
23 UIKitCore                      0x1fc081978 UIApplicationMain + 212
24 Blox                           0x104b11780 main + 19 (InvitePopupViewModel.swift:19)
25 libdyld.dylib                  0x1cf2da8e0 start + 4