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

Functionality for popping multiple scenes and pushing a new scene #2896

Closed
bishalshr opened this issue Feb 21, 2018 · 12 comments
Closed

Functionality for popping multiple scenes and pushing a new scene #2896

bishalshr opened this issue Feb 21, 2018 · 12 comments

Comments

@bishalshr
Copy link

bishalshr commented Feb 21, 2018

Can we have a functionality of popping x number of scenes and pushing a new scene?
using popTo along with push gives unnecessary animation

@Blapi
Copy link
Collaborator

Blapi commented Feb 21, 2018

You can try to push a new Scene with a type replace or reset instead?

Or you can handle your Actions.pop according to where you should stop pop.

@bishalshr
Copy link
Author

@Blapi Doesn't "replace" only replace one scene?
Reset resets the whole stack and we can't achieve this by Actions.pop.

I am trying to achieve:
Scene A => Scene B => Scene C=> Scene D to Scene A => Scene B => Scene E

@Blapi
Copy link
Collaborator

Blapi commented Feb 21, 2018

Well, you pop your Scene D and you replace your C by E then ?

@Blapi
Copy link
Collaborator

Blapi commented Feb 21, 2018

we can't achieve this by Actions.pop.

I'm doing this on my own app and I had/have no troubles

@bishalshr
Copy link
Author

I also tried to do the same thing but after Actions.pop is called, Scene C will be visible for 1-2 seconds.

@Blapi
Copy link
Collaborator

Blapi commented Feb 21, 2018

Surely because you're in debug mode.

You may have troubles getting rid of the transitions animations, but your Scene shouldn't be visible at all, or not that long, when doing this

@bishalshr
Copy link
Author

bishalshr commented Feb 22, 2018

@Blapi
There is a bizzare issue here. When I do
Actions.pop(); Actions.replace(newScene);
It works fine.

But If I do
await apiCall(); Actions.pop(); Actions.replace(newScene); it is showing old scene for some seconds.

@Blapi
Copy link
Collaborator

Blapi commented Aug 1, 2018

@bishalshr status there ?

@aksonov
Copy link
Owner

aksonov commented Aug 8, 2018

Closed due inactivity

@aksonov aksonov closed this as completed Aug 8, 2018
@nik910
Copy link

nik910 commented Jul 23, 2019

What is the status of this issue? @bishalshr

@e3bmo3ty
Copy link

any updates ?

@briantofu
Copy link

updates?

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

6 participants