slovnicki / beamer

A routing package built on top of Router and Navigator's pages API, supporting arbitrary nested navigation, guards and more.
MIT License
582 stars 128 forks source link

Routing Animation Problem while switching between two location with one common page. #640

Open cchamm opened 9 months ago

cchamm commented 9 months ago

The problem is that while beaming back from location B (initiate Mandate Page) to location A (Progress Page), there is a wired page transition like the following section (Screenshot of wired page animation). Both Home, Initiate Mandate and Progress page coexist in a split of seconds.

Expected behaviour.

Progress page occupy entire screen below the Initiate Mandate page without animation when user click the back button on the Initiate Mandate Page.

Screenshot of Wired Page animation

image

Different beam locations

Beam Location A

It has following page structure. Home Page > Progress Page

Beam Location B

It has following page structure. Home Page > Initiate Mandate Page

Pages

Home Page ![Simulator Screen Shot - iPhone 14 Pro - 2023-10-03 at 10 26 46](https://github.com/slovnicki/beamer/assets/10171977/57119ff5-e786-4885-ba40-bc31cd28ba2e)
Progress Page ![image](https://github.com/slovnicki/beamer/assets/10171977/2588f898-faf6-4195-a1bd-76582fdbaae1)
Initiate Mandate Page ![image](https://github.com/slovnicki/beamer/assets/10171977/0e85cee4-27b9-4c81-9dc1-4738e153422f)

Video of the animation

https://github.com/slovnicki/beamer/assets/10171977/4b6196d4-183e-47fc-8e0d-e2ff7fd0c208