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

View stucked in position on when app goes to background #128

Open
matuskopo opened this issue Jan 19, 2017 · 2 comments
Open

View stucked in position on when app goes to background #128

matuskopo opened this issue Jan 19, 2017 · 2 comments

Comments

@matuskopo
Copy link

Hi everybody,
first I want to thank you for great plugin.
Will try to describe my problem. I have implemented your plugin and everything works as it should. But there's one bug occurring while you are already swiping View. If during swiping your app goes to background (for example: somebody calls you, or just for testing, hit home button during swipe), after returning to app View will stuck somewhere in process off swiping and now it's position is calculated as starting for next swiping. What is wrong. View should return to it's starting position before app went to background.

I attached picture with "censored" content, but just look at cards. This is position they have after resuming app.
mdc-bug

Bye

@pooja816
Copy link

I am also having the same issue.

@bull-xu
Copy link

bull-xu commented Aug 26, 2019

When the app goes into background, iOS always remove the UIView's animations, which this library is using [UIView animateWithDuration]. There is something you can read: https://gist.github.com/grzegorzkrukowski/a5ed8b38bec548f9620bb95665c06128 and the author might be able ro use it to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants