Comments (3)
Opened a pull request: #19
from verticalcardswiper.
Hi @williamsthing
Are you trying to detect a tap anywhere inside a card or for something specific?
The VerticalCardSwiper
internally makes use of different gestureRecognizers te detect horizontal and vertical swipes and also uses shouldRecognizeSimultaneouslyWith
, this could possibly interfere with other gesture recognisers, but I'll have to look inside the code to test that.
If you're looking for a tap anywhere inside a card, I can look into adding a delegate method for that and pushing it in an extra release since it's a pretty useful thing that should've already been included anyways.
Could you perhaps share how/where you are trying to add the extra recogniser? Might help me out in figuring out what's going wrong exactly.
Kind regards
Joni
from verticalcardswiper.
Hi Joni,
Thanks for the quick response. I have a UIView inside of the card item that is setup to listen to gesture recognisers. Also is it possible to remove the horizontal swipe gesture recogniser when isSideSwipingEnabled
is set to false? I have the VerticalCardSwiper in a CollectionView (horizontal) that has paging, and the swipes are ignored by the CollectionView when the gesture takes place on top of the VeritcalCardSwiper, if that makes sense.
Having a look at the source now and trying to fix it, I'll make a pull request if I have any success. Thanks!!
from verticalcardswiper.
Related Issues (20)
- How do I prevent my view controller from loading twice when I use the didDragCard function? HOT 5
- [Feature] Swipe without removing the item from the list HOT 4
- [Feature] Lower the opacity for the stacked cards HOT 3
- Expose `cellForItem` API HOT 4
- Stop Left Swipe || Increase Card Size HOT 1
- [Bug] Adding multiple card sizes doesn't snap card correctly HOT 3
- [Bug] Losing cards from stack when device orientation is rotated HOT 7
- [Question] How do I use a button on this card to launch a new ViewController> HOT 1
- How to preview card(cell) reload?[Question] HOT 2
- [Bug] `isStackOnBottom` and `stackedCardsCount` not working on 2.3.0 HOT 5
- How can I change the size of card view? HOT 1
- [Bug] Toolbar won't respond
- How do you disable vertical scrolling?
- [Question] I want to modify the alpha value according to the scroll ratio when scrolling cell
- [Question] I have a problem when scrolling, the view behind it overlaps.
- [Question] Current and Next cell with different size.
- MJRefresh failed to refresh. HOT 1
- How to scrollToCard horizontally?
- Removing the velocity animation
- utility function
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from verticalcardswiper.