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
I've found a bug that occurs when you change cards in the match engine, sometime the front card would not render.
The fix:
in swipe_cards build method:
DraggableCard(
key: ValueKey(widget.matchEngine.currentItem!.content), // Add a key --> you'll also need to add the key param to the draggable card widget
I won't do a PR because I have a lot of custom changes in my fork, but this could save someone a few hours of debugging.
The text was updated successfully, but these errors were encountered:
I've found a bug that occurs when you change cards in the match engine, sometime the front card would not render.
The fix:
in
swipe_cards
build method:I won't do a PR because I have a lot of custom changes in my fork, but this could save someone a few hours of debugging.
The text was updated successfully, but these errors were encountered: