Replies: 4 comments 2 replies
-
|
Good catch. Will take a look onto this right after #215
|
Beta Was this translation helpful? Give feedback.
-
|
main...feature/tiamat-2.0.0-alpha03 |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for looking into it! |
Beta Was this translation helpful? Give feedback.
-
|
@aschulz90 I made some changes in order to follow our UI/code style and made some minor improvements, here is commit: We will release fix + example in the neares release (think it will happen soon, will also think on adding overlays an native lib part) Thanks alot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am currently tinkering with the new 2.0 Alpha and
NavigationSceneto implement a "OverlayDestination", that can be used to navigate to and from overlays (bottomsheets or dialogs) that are also part of the backstack. So you can navigate from a destination to an overlay and all overlay destinations are rendered on top of the screen destination.E.g. backstack: (Screen1 -> BottomSheet1 -> Bottomsheet2) -> (Screen2 -> Dialog1) will render Screen2 and the dialog. When you leave Screen2, then Screen1 and both bottomsheets will be rendered.
This is my current implementation for it:
This works mostly as expected (expect #215), BUT I can no longer use the default
TransitionControllerfor gesture navigation (whensceneGroupis empty), because neitherTransitionController::updates/TransitionController::Eventis public, nor is the classopen.Would you be willing to make
TransitionController::updates/TransitionController::Eventpublic? Or makeTransitionControlleropen?Or even better, support this navigation pattern directly in Tiamat?
Beta Was this translation helpful? Give feedback.
All reactions