You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the navigation transitions only support 3 fundamental types of transitions (as identified in AnimatorTransientViewProperties):
alpha: CGFloat
transform: CATransform3D
zPosition: CGFloat
I've tried to understand the inner-workings of the package, but it seems to be above my comprehension level. Would it be possible to add a closure for arbitrary view modifiers based on the progression of the transition? This would allow for much more customizability over creating navigation transitions.
Also, it would allow developers to write their transitions in native SwiftUI. Perhaps View/scrollTransition(_:axis:transition:) could be a model for the API.
I, specifically, am looking to create a blur+scale navigation transition, but I don't think the blur part is currently possible.
This discussion was converted from issue #130 on July 16, 2024 23:23.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It seems that the navigation transitions only support 3 fundamental types of transitions (as identified in
AnimatorTransientViewProperties
):alpha: CGFloat
transform: CATransform3D
zPosition: CGFloat
I've tried to understand the inner-workings of the package, but it seems to be above my comprehension level. Would it be possible to add a closure for arbitrary view modifiers based on the progression of the transition? This would allow for much more customizability over creating navigation transitions.
Also, it would allow developers to write their transitions in native SwiftUI. Perhaps
View/scrollTransition(_:axis:transition:)
could be a model for the API.I, specifically, am looking to create a blur+scale navigation transition, but I don't think the blur part is currently possible.
Beta Was this translation helpful? Give feedback.
All reactions