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
I'm using this library, which works well for most cases. Everything works as expected if the show() is called inside the root navigator.
However, if the show() is triggered inside a nested navigator, the notification is only partially shown (see the attachment).
What do I mean by "nested navigator"?
I have a window which has a bottom navigation bar which has a set of navigators (and keys). Some UIs are only pushed to these navigators. When the show() is called from a UI that is part of a nested navigator, the notification isn't shown properly.
Any idea how to get this fixed?
EDIT:
I was able to fix this using the global navigator key and passing its context to the show() function.
Not sure if this is the best way to do this. Regardless, I think it's worth mentioning in the docs.
The text was updated successfully, but these errors were encountered:
I'm using this library, which works well for most cases. Everything works as expected if the
show()
is called inside the root navigator.However, if the
show()
is triggered inside a nested navigator, the notification is only partially shown (see the attachment).What do I mean by "nested navigator"?
I have a window which has a bottom navigation bar which has a set of navigators (and keys). Some UIs are only pushed to these navigators. When the
show()
is called from a UI that is part of a nested navigator, the notification isn't shown properly.Any idea how to get this fixed?
EDIT:
I was able to fix this using the global navigator key and passing its context to the
show()
function.Not sure if this is the best way to do this. Regardless, I think it's worth mentioning in the docs.
The text was updated successfully, but these errors were encountered: