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
Thank you for the demo. The first card flies off fine. Each of the follow discard click doesn't move pass the Germany card.. It stays there after the discard button is press again and again -- each time it expands larger in the window.
In addition, when showing the browser window, the discarded cards remain in the far left. You can only see this in a very large window.
I'm running ionic 2 beta.
The text was updated successfully, but these errors were encountered:
I'm glad you liked the demo. It was originally written for educational purposes and isn't fully comprehensive so there are kinks left in it.
For the first issue (where the cards continue to grow larger and larger), this was previously an issue that resulted from clicking the discard key before the animation fully finished resulting in some logic not being completed and the cards thinking they could continue to grow to infinity. This shouldn't be an issue now though. Do you think you could provide an example codepen using Ionic 2 beta in order to diagnose the issue? Here's an example (codepen)[http://codepen.io/loringdodge/pen/ZGvMxE].
For the second issue, the distance that the card flies off to the left is a hard-coded value which is why you can see in desktop browsers but not in mobile (smaller screen). If you'd like to make it larger change the value on line 114 of ionic.swoosh.cards.js to a smaller number.
Thank you for the demo. The first card flies off fine. Each of the follow discard click doesn't move pass the Germany card.. It stays there after the discard button is press again and again -- each time it expands larger in the window.
In addition, when showing the browser window, the discarded cards remain in the far left. You can only see this in a very large window.
I'm running ionic 2 beta.
The text was updated successfully, but these errors were encountered: