-
Notifications
You must be signed in to change notification settings - Fork 396
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
Particles stuck on screen after stopEmitting() and few fragment transactions #69
Comments
Thanks for the heads up. This is an interesting bug. So, in principle the particles should not stop when the emitter stops because they need to do the lifecycle. This is shown on the follow touch example. Now, what happens here is that some of the components get disconnected when paused and do not get reconnected when resumed. Most likely the timers. Since I always used it on Activities that finish, this is not something I've seen before. I would need to look at the lifecycle of fragments to see how to fix it properly, but I do not have time for that at the moment. I hope I have given you any hint on how to solve it yourself. |
No problem at this moment, i just downgraded to previous version.
23 янв. 2017 г. 4:27 ПП пользователь "Raul Portales" <
notifications@github.com> написал:
… Thanks for the heads up. This is an interesting bug.
So, in principle the particles should not stop when the emitter stops
because they need to do the lifecycle. This is shown on the follow touch
example.
Now, what happens here is that some of the components get disconnected
when paused and do not get reconnected when resumed. Most likely the timers.
Since I always used it on Activities that finish, this is not something
I've seen before.
I would need to look at the lifecycle of fragments to see how to fix it
properly, but I do not have time for that at the moment.
I hope I have given you any hint on how to solve it yourself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#69 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AA8U9bZ5Vi3sddllhV9MUYpFOO6U5J6bks5rVKrWgaJpZM4LokZH>
.
|
i have the same issue too and i m explaining this as;
|
cancel() will clear any stuck particles on the Fragment |
Bug occurs on version 1.3.2. On 1.3.1 all right.
The text was updated successfully, but these errors were encountered: