Animation Only while clicking button #1821
Unanswered
MuhammadHamzaChippa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to use dnd-kit for dragging (mandatory for me to use it) along with framer motion. The problem is that I want to animate the boxes only when I toggle between the instances not while dragging the boxes which makes it look buggy. Is there any way I can trigger the animation while toggling between Instance1, Instance2, and Instance3 and disable it otherwise?
You can see it in the attached video too and the codesandbox link is also attached to it.
transition.webm
https://codesandbox.io/p/github/MuhammadHamzaChippa/framer-motion-dnd-kit/draft/morning-surf?file=%2Fsrc%2FApp.js
Beta Was this translation helpful? Give feedback.
All reactions