Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MotionLayout] OnSwipe offset bug #233

Open
kroegerama opened this issue May 25, 2021 · 3 comments
Open

[MotionLayout] OnSwipe offset bug #233

kroegerama opened this issue May 25, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@kroegerama
Copy link

Note: This bug replaces #229

In this example of OnDrag, the drag handle moves faster than the cursor. It looks like there is an interpolator attached to the drag transition.

You can find an example project here. The relevant files are:

Version 2.1.0-beta02:

swipe-bug-2.1.0.mp4

Version 2.0.4:

swipe-bug-2.0.4.mp4
@jafu888
Copy link
Collaborator

jafu888 commented May 25, 2021

I have isolated the issue for this :

You can work around if if you have to.
you have 3 states a,b,c a-|button>-b-|slider>-c
The slider transition is getting set up while the button transition is still not done.

You can work around it for now by added a b' so a-|button>-b'-|auto>-b-|slider>-c

I am still working on what is going on inside MotionLayout

@Shusshu
Copy link

Shusshu commented Feb 22, 2022

@jafu888 any progress to share on this weird behaviour?

@AlexSuvorov2k
Copy link

AlexSuvorov2k commented Apr 26, 2022

How to force speed up handle moves?
dragScale is not working as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants