voyager icon indicating copy to clipboard operation
voyager copied to clipboard

update screen transition

Open shpasha opened this issue 1 year ago • 1 comments

A slightly different approach to screen transitions. Now the active screen (the one we push) determines the animation. We already have this approach in our approach and it is very convenient.

I also added lastEvent to the enter/exit to understand the slide direction

sample.webm

shpasha avatar May 22 '24 07:05 shpasha

Can you also update the docs in the repo? We have moved to the repo

DevSrSouza avatar May 22 '24 09:05 DevSrSouza

@DevSrSouza If there are no more problems, maybe we can merge the request?

shpasha avatar May 29 '24 15:05 shpasha

@shpasha Can you update this docs @shpasha https://github.com/adrielcafe/voyager/blob/main/docs/transitions-api.md ?

Adding the new ScreenTransition function and some examples using delegate implementation, etc.

DevSrSouza avatar Jun 03 '24 14:06 DevSrSouza

@DevSrSouza docs updated

shpasha avatar Jun 03 '24 16:06 shpasha

Awesome work, thanks for the contribution

DevSrSouza avatar Jun 03 '24 16:06 DevSrSouza