it en en en en en en en en en en en en en en en fa en en fr hbs_lat en en en es en en en de en en fr en en ca en en en en en en es es en en fr en en en en en en en en fr fr en en en en en en ms en en en en en en en nb en en en en en en en en en en en nb en en en en en en en en en en en en en en en en en en en en en en en en en en en en en en fr en en nb en en en en en en en en en en en nb en en en en en es en en en en en de en de en it en en en es en de en en en en en en en en en fr cv es tr es en en en en ms en en en en en en fr en hbs_lat en en en en en en en fr cv es tr es en en en en de en en en ca en en en en en
Hi Guys, first Time, when i clicked on greenbox, it show correct position, But when i move it to another position then clicked it again. it show wrong position. pls help me to figure out..
Built-in animations plugin powered by GSAP libraries
xpo_greensock@knorex.com replied to xpo_greensock@knorex.com's topic in GSAP
Thank you Carl. They are good examples.
xpo_greensock@knorex.com posted a topic in GSAP
xpo_greensock@knorex.com replied to xpo_greensock@knorex.com's topic in GSAP
Thanks for your feedback. That is clearer test case: http://codepen.io/duytan/pen/eWGRXE which using Draggable latest ver 1.19.1. The element is slightly vibrated when checking on Safari. I can't use "x,y" type in my case because of the consistency. By the way, I found the solution in my case by just using Draggable ver 1.18.0. In my opinion, I think you should keep previous behavior, should not round position values maybe it can cause some problems like my case.
Draggable top/left position is rounded down when using update method
xpo_greensock@knorex.com replied to xpo_greensock@knorex.com's topic in GSAP
Hi Jack, actually I am working on an app that allows user can design HTML5 element by dragging from A position to B position in percentage and pixel. I met this issue when trying to convert percentage to pixel once user mouse down on the element. The element's position is lightly vibrated. That is my previous topic: https://greensock.com/forums/topic/16365-draggable-topleft-in-pixel-and-percentage/
Draggable top/left position is rounded down when using update method
xpo_greensock@knorex.com posted a topic in GSAP
Hi everybody, I met an issue that is when I set the Top/Left position manually in onPress function that position values are rounded down even I tried using autoRound: false. I created an example via codepen. Is there any way to prevent that issue, please share me. Thanks in advance!
Draggable top/left in pixel and percentage
xpo_greensock@knorex.com replied to xpo_greensock@knorex.com's topic in GSAP
I resolved that problem. Thank all for helping.
Draggable top/left in pixel and percentage
xpo_greensock@knorex.com posted a topic in GSAP
Hi everybody! Just wondering, I am doing a web app it allows user can move the position of an element in Top/Left, they can change the type of position in Pixel or Percentage manually. But as I known Draggable only works on Pixel. To do it I tried converting Percentage to Pixel and using Update method when user hover the element. But it is a cheat and sometimes the position of the element is vibrated. Any advice? Wish all you the best!
“Aside from GreenSock’s laser-focused attention to detail, GSAP is fast, reliable, flexible, exceptional value (read: free in most cases) and, very importantly, supported.”
“Performance has been of paramount importance for GreenSock, so there is always peace of mind for us, developers.”
“There is no doubt that GreenSock is currently the best available tool for creating astonishing interactive websites and animation effects.”
“After searching around the web for alternatives, I found GreenSock to be the most performant.”
“The best thing about GSAP is that it just works, and it works well. On every single browser I’ve tested.”
“GSAP and CSS Transitions: I've done both, and its like comparing an F16 to a horse. Take like 10 minutes to try.”
“I’ve long felt like GSAP is the best kept secret in JavaScript.”
“This stuff is so incredibly amazing I can't believe it. The level of details and options put into these things and the natural instinct GreenSock has for solving everyday problems is impressive.”
“GSAP was a revelation for me to be compared with the introduction of jQuery”
Sign Up For Our Newsletter
Get the latest updates on GreenSock products, exclusive offers, and more right in your inbox.
Your information will always be kept confidential.
Thanks for signing up!
Now you'll begin receiving the latest GreenSock updates, exclusive offers, and more right in your inbox. Welcome aboard.