Im trying to use .animate with time:
Im encountering the problem that i can make an animation max 1 second long.
time: 1 gives exactly the same result like time: 10
Is this intended? What is the reason for this? Any easy / good work arounds?
In case you're using spring as your curve it will not load time as a parameter. Either use cubic-bezier or linear and it will work...
But you do want to control the time of an animation but still use a spring, allow me to shamelessly plug my Hook module from a while back: https://github.com/sigtm/framer-hook/blob/master/README.md
Are you declaring the time of the animation in the right spot? Sometimes time needs to only be indented once (line 22 and line 37) but when you're using .animate, time needs to be nested underneath the animation options (line 30). But, you also might just be working with a spring curve.
Also thanks to all the others! I keep the work around with spring in mind, at the moment I am only using linear.