Skip to content

Configure navigation transitions#419

Open
dfabulich wants to merge 1 commit into
skiptools:mainfrom
dfabulich:configure-navigation-transitions
Open

Configure navigation transitions#419
dfabulich wants to merge 1 commit into
skiptools:mainfrom
dfabulich:configure-navigation-transitions

Conversation

@dfabulich
Copy link
Copy Markdown
Contributor

@dfabulich dfabulich commented May 9, 2026

Skip Pull Request Checklist:

  • REQUIRED: I have signed the Contributor Agreement
  • REQUIRED: I have tested my change locally with swift test
  • OPTIONAL: I have tested my change on an iOS simulator or device
  • OPTIONAL: I have tested my change on an Android emulator or device
  • REQUIRED: I have checked whether this change requires a corresponding update in the Skip Fuse UI repository (link related PR if applicable)
    Configure navigation transitions skip-fuse-ui#104
  • OPTIONAL: I have added an example of any UI changes in the Showcase sample app

  • AI was used to generate or assist with generating this PR. Please specify below how you used AI to help you, and what steps you have taken to manually verify the changes.

Cursor did the first draft; I heavily rewrote it (and wrote the README myself). I tested this by tweaking animations in the Showcase app, and by using it in my own app. I also tested it in the Fuse Showcase.

@cla-bot cla-bot Bot added the cla-signed label May 9, 2026
marcprux added a commit to dfabulich/skip-ui that referenced this pull request May 14, 2026
marcprux added a commit that referenced this pull request May 14, 2026
* Animate navigation bar visibility

There are three kinds of changes here.

1. We have to plumb the `visibilityAnimation` through a preference so `Navigation.swift` can access it.
2. Adding in `AnimatedVisibility`. (This changes indentation on the whole file. Best viewed ignoring whitespace, e.g. with `git diff -w`)
3. Careful coordination of `contentSafeArea` with `topPadding`. These need to match each other on every frame of the animation, or the animation will judder.

* Add back androidx.compose.animation.core.tween

Will be needed by #419

---------

Co-authored-by: Marc Prud'hommeaux <marc@skip.tools>
Copy link
Copy Markdown
Member

@marcprux marcprux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there's a bug in here … the "back" navigation transition is now sliding the screen "forward".

untitled

@dfabulich dfabulich force-pushed the configure-navigation-transitions branch from 63568bf to 49316b5 Compare May 15, 2026 06:54
@dfabulich dfabulich force-pushed the configure-navigation-transitions branch from 49316b5 to 3c11901 Compare May 15, 2026 06:55
@dfabulich
Copy link
Copy Markdown
Contributor Author

Sorry about that! That was last-minute cleanup gone wrong.

@dfabulich dfabulich requested a review from marcprux May 15, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants