mac-gallagher / Shuffle

🔥 A multi-directional card swiping library inspired by Tinder
MIT License
897 stars 138 forks source link

Modifying SwipeCard subview (hidden to not-hidden) from didSwipeCardAt not working #144

Open ghost opened 3 years ago

ghost commented 3 years ago

Describe the bug I'm trying to modify the following card in the stack based on the direction that the current card was swiped. If it is swiped left I want to show a hidden view on the following card in the stack. When I get the following card in stack and try and update a hidden subview to hidden = false nothing happens.

To Reproduce Steps to reproduce the behavior:

  1. Grab next SwipeCard in stack in didSwipeCartAt
  2. Try and modify a subview of said SwipeCard (i.e. set hidden = false)
  3. No changes to subview visibility occurs