Giter Site home page Giter Site logo

Comments (3)

darnfish avatar darnfish commented on August 16, 2024 1

Opened a pull request: #19

from verticalcardswiper.

JoniVR avatar JoniVR commented on August 16, 2024

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.

darnfish avatar darnfish commented on August 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.