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

[IOS] Swipe to back on IOS #27

Open
hoanghai9650 opened this issue Apr 17, 2024 · 4 comments
Open

[IOS] Swipe to back on IOS #27

hoanghai9650 opened this issue Apr 17, 2024 · 4 comments

Comments

@hoanghai9650
Copy link

Hi,
At first, your lib is great!
Second, how can I swipe to go back to previous screen like Ios native ?

@vkatz
Copy link
Contributor

vkatz commented Apr 17, 2024

@hoanghai9650 Hi, thanks for advise, going to add it (iOS swipe back action, or else smth to interact/pass into lib)

@vkatz
Copy link
Contributor

vkatz commented Jun 2, 2024

Research result:
iOS nativ nav seems to use somthing close to android shared-transition (especially for top bar)
Animation itself is easy to replicate with

Navigation(
                ...
                contentTransformProvider = { navigationSlideInOut(it) },
                ...
            )

It is also possible to add global wraper (box + touchHandled) with touch action to perform global back action (contact me for more details if needed)

Will wait to shared-element-transition to be fixed and release, next will add fully functional example (or maybe direct implementation)

@vkatz
Copy link
Contributor

vkatz commented Jun 2, 2024

PS: feature/predictive-back - here is some very basic example on how it migh looks

@vkatz
Copy link
Contributor

vkatz commented Jul 15, 2024

UPD: work in progress, https://github.com/ComposeGears/Tiamat/tree/feature/content-transition-impl here is impl. Waiting for google to fix seekable transition bug

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

2 participants