Prioritize on-swipe-left/right over on-swipe-up/down

Hi everyone,

I am using the swipeable cards and I have different actions depending where you swipe.
The problem would trigger when a user go diagonally and hence triggers left and up swipes at the same time, which is something I would like to get rid off by prioritizing the right/left action.

Do you have any suggestion on how to implement this?

Thank in advance,

Cheers,
Hay