crabcreative
Content Type
Profiles
Forums
Store
Blog
Product
Showcase
FAQ
Downloads
Posts posted by crabcreative
-
-
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).
Draggable with cta
in GSAP
Posted
One of the reasons I love GS so much, you think of every possible situation... Thank you so much Jonathan!!! It does solve it