st3f Posted December 20, 2019 Share Posted December 20, 2019 Hello, if I set the cursor as "ew-resize" (or any other but the default) for a draggable div, at first, on mouse over, the cursor change always as "drag". Then, after the first click, the cursor changes as desired. How can I avoid this behavior? Thanks See the Pen KKwWeEE by st3f (@st3f) on CodePen 1 Link to comment Share on other sites More sharing options...
ZachSaucier Posted December 20, 2019 Share Posted December 20, 2019 Thanks for the report, st3f! This definitely seems like a bug @GreenSock. For now you can work around it by adding gsap.set("#dragme", {cursor: "ew-resize"}); after the Draggable's creation. Link to comment Share on other sites More sharing options...
st3f Posted December 20, 2019 Author Share Posted December 20, 2019 Ok, thank you Zach Link to comment Share on other sites More sharing options...
GreenSock Posted December 21, 2019 Share Posted December 21, 2019 Yep, sorry about that - it should be fixed in the next release which you can preview at https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Draggable3.min.js 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now