Replies: 1 comment
-
Hi everyone, do you have any feedbacks / fixes for that ? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Motion community,
Is there a way to enable dragElastic on the
left side
but without making the "elasticity" to be working on theright side
?Code
Code sample: https://codesandbox.io/p/sandbox/mighty-motion-guide-some-examples-12-drag-direction-locking-forked-tfsl8k?file=%2Fsrc%2FExample.jsx
Expected behavior in "simulated" video
Dragging on the right doesn't make the div be "elastic"
https://github.com/user-attachments/assets/ccce5602-acf4-40da-bc93-d53ffda47142
Current (bad) behavior in video
The elastic works on both sides
https://github.com/user-attachments/assets/d17ba535-2bd7-4c28-a6db-ad1e742abfab
Beta Was this translation helpful? Give feedback.
All reactions