Jump to content
Search Community

crabcreative

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by crabcreative

  1. I'm building this "cards" that stack on top of each other and you can drag them to the right to remove it from the stack and to the left to bring the previous one back.

     

    This cards also have CTA, trough a "read more" button or, if it's an image, the whole card is a CTA.

     

    The "problem" is that the CTA prevents the card from dragging, which is an expected behaviour.

     

    Is there a way where a user can drag the cards and still be able to press the CTA?

     

    (fyi, the user can drag anywhere on the parent div of the cards to drag them).

    See the Pen QKYVZk by ricnunes (@ricnunes) on CodePen

×
×
  • Create New...