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

CRToastInteractionTypeSwipeUp doesn't dismiss the notification #194

Open
mm11715 opened this issue Feb 22, 2016 · 2 comments
Open

CRToastInteractionTypeSwipeUp doesn't dismiss the notification #194

mm11715 opened this issue Feb 22, 2016 · 2 comments

Comments

@mm11715
Copy link

mm11715 commented Feb 22, 2016

CRToastInteractionTypeSwipe and CRToastInteractionTypeSwipeUp are broken.

When displaying a notification with an interaction responder of type CRToastInteractionTypeSwipeUp or CRToastInteractionTypeSwipe, the swipeGestureRecognizerSwiped: is not called for a swipe up. The UIGestureRecognizerDelegate gestureRecognizer:shouldReceiveTouch: method is called, however.

Using version 0.0.9, tested on both iOS 8.4 and 9.2.1

@jordanhbuiltbyhq
Copy link

I can confirm this is an issue. SwipeDown works, SwipeUp does not.

@Donnit
Copy link

Donnit commented Jul 7, 2016

+1
I found that SwipeUp works only if swipe up gesture starts from the bottom border of the notification banner. If you start swiping up a little bit above the bottom border the gesture is not recognized and, more dangerous, if you also have a tap interaction type, it will be recognized as tap.

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

3 participants