Jump to content


Draggable fails in Chrome with type "x" or "left"

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Encountered this issue today while working on a Draggable in Chrome on Windows 10.


If I set the type to "x" or "left", my Draggable wouldn't move left and right when I clicked and dragged on it. This only happened in the latest version of Chrome. FF and Edge were fine.


(Note that if I set the Draggable type to "x,y" but then used bounds to prevent the element from moving on the Y axis, the Draggable worked just fine.)


I found this thread from 2 years ago: Draggable fails in Win 8 touch with type='x' and setting "allowNativeTouchScrolling" to false did fix the issue for me. However, I'm using a desktop, not a touchscreen, so I thought the solution was a bit odd.


My question is if allowNativeTouchScrolling is the proper way to fix this issue now and in the future.


Also, is it just me or has Chrome been turning into a crap browser lately? It started with their ridiculous decision regarding "will-change" and has gotten worse since then.



Link to comment
Share on other sites

Please let us know if the latest beta resolves the issue: 

<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/Draggable-latest-beta.js"></script>
  • Like 3
Link to comment
Share on other sites



The latest beta of Draggable works fine without the "allowNativeTouchScrolling" setting, thanks!


Any idea when this will be officially released? I'd prefer not to use the beta file in my project.

Link to comment
Share on other sites

Hopefully tomorrow, but no later than the end of this week :)

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.