Jump to content
Search Community

Draggable - Releasing a draggable element doesnt clean the X/Y coordinates in Low Power Mode

ugo test
Moderator Tag

Recommended Posts

Hey, I'm facing an issue that i cant find any solution, i have tried different way to fix it but unfortunately, none of them are working. The issue is only reproducible from a real device when being set in Low Power Mode / Battery Saving mode. It seems like that whenever you are releasing the element, an then you start to grab it again, the latest will keep the previous last X/Y coordinates, ending with creating a gab between the element and the cursor/finger position when triggering the onPress.

Solution I have tried, applying a gsap.set(element, { x: 0, y: 0 }) after releasing the element, calling the draggable.update() function after that.

I'll be keen to be helped out on that issue.

Thanks a lot in advance

Link to comment
Share on other sites

  • 5 weeks later...

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.
×
×
  • Create New...