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

Discarding and Swiping Issues #7

Open
ghost opened this issue Jan 29, 2016 · 1 comment
Open

Discarding and Swiping Issues #7

ghost opened this issue Jan 29, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 29, 2016

Hello, I have two different issues first one is about "Discard" operation; when we try to discard a card, we are not able to drag other cards.

The second issue is about swiping, can we disable moving card up or down? because when we drag a card to bottom or top with a small angle to left/right side, the system is not able to detect is it "Yes" or "No".

@ghost ghost changed the title Discard and Swipe Issie Discarding and Swiping Issues Jan 29, 2016
@loringdodge
Copy link
Owner

I see you're a deleted user right now so not sure what that's all about.

But I've updated the module to allow for dragging after 'discard'. I've also added a min-threshold scope variable that enables users to defined for what threshold the cards will fly away on swipe. The lower the number, the more vertical the range. Or better yet, they will fly away and not snap back if the threshold is lower if a user swipes more up/down than left/right.

<td-card ng-repeat="card in cards.active" min-threshold="0.1">
   // transcluded content
</td-card>

Thanks,
Loring

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