[feature] Overlay.of let us use useRootNavigator
Closed this issue · 7 comments
As a developer, i want to use useRootNavigator when my overlay is launched from a nested root.
Not really sure what you mean, can you update the example application by adding one more bottom navigation item to reproduce that bug?
Overlay.of(context) can use the root navigator inside it's property. Can you expose it to let us (developers) use it ?
It's not a bug :). Just a property to expose.
What you want is that pinch to zoom exposes a function that is called when the zoom starts? Maybe the twoFingersOn function would also do the same?
That allow developer to put overlay in the first plan when overlay.of(context) is call from a nested navigation route.
Oh I see, do you can run the example application in your machine? Will you create the PR with that change?
It makes some sense for me to pass that parameter, but I really don't know your use case and I don't know what is the test that should be added to the example application to test if it works fine or not