Due to how the cards get positioned when they are supposed to be swiped outside of the screen, they get further on the right side than on the left side, causing the animation to seem slower to the left than to the right.
This could be fixed by adding an offset like card.cliendWidth to the calculated position, for example by using bind:this={card} to get the size of the card with card.clientWidth.
Due to how the cards get positioned when they are supposed to be swiped outside of the screen, they get further on the right side than on the left side, causing the animation to seem slower to the left than to the right.
This could be fixed by adding an offset like
card.cliendWidth
to the calculated position, for example by usingbind:this={card}
to get the size of the card withcard.clientWidth
.